Function at 0x100046a0
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100138b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1001e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x44]
movzx eax, byte [esi + 0xc]
mov ecx, 0x1a
push dword [esi + 0x40]
push dword [esi + 0x3c]
push dword [esi + 0x38]
push dword [esi + 0x34]
push dword [esi + 0x30]
push dword [esi + 0x2c]
push dword [esi + 0x28]
push eax
movzx eax, byte [esi + 0xb]
push eax
movzx eax, byte [esi + 0xa]
push eax
movzx eax, byte [esi + 9]
push eax
movzx eax, byte [esi + 8]
push eax
movzx eax, byte [esi + 7]
push eax
movzx eax, byte [esi + 6]
push eax
movzx eax, byte [esi + 5]
push eax
movzx eax, byte [esi + 4]
push eax
call fcn.10011340
push eax
push 0
push 0x1011e1d8
call fcn.100087b0
mov al, byte [esi + 4]
add esp, 0x50
test al, al
jne 0x100048ae
mov dword [0x10128d74], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x10128d80], eax
movzx eax, byte [esi + 5]
mov dword [0x10128d7c], eax
movzx eax, byte [esi + 6]
mov dword [0x10128d78], eax
movzx eax, byte [esi + 8]
mov dword [0x10128d40], eax
movzx eax, byte [esi + 9]
mov dword [0x10128d50], eax
movzx eax, byte [esi + 0xa]
mov dword [0x10128d4c], eax
movzx eax, byte [esi + 0xb]
mov dword [0x10128d48], eax
movzx eax, byte [esi + 0xc]
mov dword [0x10128d44], eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100047cf
mov dword [0x10128d28], eax
lea eax, [ebp - 0x30]
push eax
push 0x40
push 0x20
push 0x10128d00
call edi
push 0x20
push 0x10123224
push 0x10128d00
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
push 0x20
push 0x10128d00
call edi
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10004812
mov dword [0x10128d24], eax
movzx eax, byte [esi + 0xd]
inc al
mov byte [0x10128cf8], al
movzx eax, byte [esi + 0xf]
add al, 2
mov byte [0x10128cf9], al
movzx eax, byte [esi + 0x10]
add al, 3
mov byte [0x10128cfa], al
movzx eax, byte [esi + 0x12]
add al, 4
mov byte [0x10128cfb], al
movzx eax, byte [esi + 0x13]
add al, 5
mov byte [0x10128cfc], al
mov eax, dword [esi + 0x30]
test eax, eax
je 0x10004850
mov dword [0x10128d20], eax
lea eax, [ebp - 0x30]
push eax
push 0x40
push 0x11
push 0x10128ce4
call edi
movups xmm0, xmmword [esi + 0x15]
movups xmmword [0x10128ce4], xmm0
mov al, byte [esi + 0x25]
mov byte [0x10128cf4], al
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
push 0x11
push 0x10128ce4
call edi
mov eax, dword [esi + 0x34]
test eax, eax
mov ecx, dword [0x10128d34]
cmovne ecx, eax
mov eax, dword [esi + 0x38]
test eax, eax
mov dword [0x10128d34], ecx
mov ecx, dword [0x10128d30]
cmovne ecx, eax
mov eax, dword [esi + 0x3c]
test eax, eax
mov dword [0x10128d30], ecx
mov ecx, dword [0x10128d2c]
cmovne ecx, eax
mov eax, dword [esi + 0x40]
test eax, eax
mov dword [0x10128d2c], ecx
mov ecx, dword [0x10128cdc]
cmovne ecx, eax
mov eax, dword [esi + 0x44]
mov dword [0x10128cdc], ecx
test eax, eax
je 0x1000491f
mov dword [0x10128cd8], eax
jmp 0x1000491f
movzx eax, al
dec eax
cmp eax, 4
ja case.default.0x100048b7
jmp dword [eax*4 + 0x1000493c]
push ecx
push 8
jmp 0x10004906
push ecx
push 9
jmp 0x10004906
mov edx, 3
xor eax, eax
nop
mov cl, byte [eax + str.XW_TQM_WUb0yezp5twzqx]
xor cl, dl
mov byte [ebp + eax - 0x2c], cl
inc eax
lea ecx, [edx + 1]
movzx edx, cl
cmp eax, 0x1a
jb 0x100048d0
mov byte [ebp - 0x12], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push ecx
jmp 0x1000490b
push ecx
push 0xb
jmp 0x10004906
push ecx
push 0xc
jmp 0x10004906
push ecx
push 0xd
call fcn.10008da0
push eax
push ecx
mov edx, 1
mov ecx, 0x101281a8
call fcn.10011100
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012754
mov esp, ebp
pop ebp
ret