Function at 0x46e1d0
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x18], eax
call fcn.0046e19c
test al, al
jne 0x46e217
push 0x46e5c8
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x46e20c
mov eax, 0x46e5e4
call fcn.0042eed4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
jmp 0x46e5c0
cmp dword [ebp - 4], 0
je 0x46e5c0
mov eax, dword [ebp - 4]
add eax, 0x3c
jae 0x46e22e
call fcn.00403068
mov eax, dword [eax]
add eax, dword [ebp - 4]
jae 0x46e23a
call fcn.00403068
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x4550
jne 0x46e5c0
push 0x40
push 0x3000
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x46e5c0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x54]
test ecx, ecx
jns 0x46e27d
call fcn.00403060
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004028c8
mov eax, dword [ebp - 0x10]
add eax, 0x18
mov edx, dword [ebp - 0x10]
movzx edx, word [edx + 0x14]
add eax, edx
jae 0x46e29e
call fcn.00403068
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 6]
sub eax, 1
jno 0x46e2b2
call fcn.00403068
test eax, eax
jns 0x46e2bb
call fcn.00403060
test eax, eax
jb 0x46e339
inc eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x28], 0
mov edx, 0x46e640
mov eax, dword [ebp - 0x14]
call fcn.00408750
test eax, eax
jne 0x46e2e1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x1c]
jae 0x46e2f1
call fcn.00403068
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
add eax, dword [ebp - 4]
jae 0x46e304
call fcn.00403068
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jns 0x46e316
call fcn.00403060
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x5c]
call fcn.004028c8
mov eax, dword [ebp - 0x14]
add eax, 0x28
jae 0x46e32e
call fcn.00403068
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x28]
dec dword [ebp - 0x60]
jne 0x46e2ca
cmp dword [ebp - 0x18], 0
je 0x46e590
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
add eax, dword [ebp - 4]
jae 0x46e353
call fcn.00403068
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x46e442
mov dword [ebp - 0x2c], 8
jmp 0x46e401
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x2c]
jae 0x46e379
call fcn.00403068
cmp word [eax], 0
je 0x46e3f6
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x2c]
jae 0x46e38c
call fcn.00403068
movsx eax, word [eax]
cdq
push edx
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
jno 0x46e3a7
call fcn.00403068
add esp, 8
sub eax, 0x3000
sbb edx, 0
jno 0x46e3b9
call fcn.00403068
test edx, edx
je 0x46e3c2
call fcn.00403060
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x40]
jae 0x46e3d2
call fcn.00403068
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
sub eax, dword [edx + 0x34]
jae 0x46e3e7
call fcn.00403068
add eax, dword [ebp - 0x1c]
jae 0x46e3f1
call fcn.00403068
mov edx, dword [ebp - 0x44]
mov dword [edx], eax
add dword [ebp - 0x2c], 2
jae 0x46e401
call fcn.00403068
mov eax, dword [ebp - 0x24]
add eax, 4
jae 0x46e40e
call fcn.00403068
mov eax, dword [eax]
cmp eax, dword [ebp - 0x2c]
ja 0x46e36c
mov eax, dword [ebp - 0x24]
add eax, 4
jae 0x46e426
call fcn.00403068
mov eax, dword [eax]
add eax, dword [ebp - 0x24]
jae 0x46e432
call fcn.00403068
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x28], eax
jae 0x46e442
call fcn.00403068
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
cmp eax, dword [ebp - 0x28]
ja 0x46e360
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x80], 0
je 0x46e590
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x80]
add eax, dword [ebp - 0x1c]
jae 0x46e474
call fcn.00403068
mov dword [ebp - 0x30], eax
jmp 0x46e584
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x1c]
jae 0x46e48c
call fcn.00403068
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x1c]
jae 0x46e49f
call fcn.00403068
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
push eax
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x46e4ca
mov eax, dword [ebp - 0x48]
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x46e5c0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
add eax, dword [ebp - 0x1c]
jae 0x46e4d9
call fcn.00403068
mov dword [ebp - 0x34], eax
jmp 0x46e568
mov byte [ebp - 0x55], 0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
and eax, 0x7fffffff
cmp eax, dword [ebp - 0x28]
je 0x46e505
mov byte [ebp - 0x55], 1
and dword [ebp - 0x28], 0x7fffffff
cmp byte [ebp - 0x55], 0
jne 0x46e530
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x28]
jae 0x46e518
call fcn.00403068
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add eax, 2
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x54], eax
jmp 0x46e540
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov dword [eax], edx
mov eax, dword [ebp - 0x50]
add eax, 4
jae 0x46e555
call fcn.00403068
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x34]
add eax, 4
jae 0x46e565
call fcn.00403068
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
jne 0x46e4e1
mov eax, dword [ebp - 0x30]
add eax, 0x14
jae 0x46e581
call fcn.00403068
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
jne 0x46e47c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x1c]
jae 0x46e5a0
call fcn.00403068
mov dword [ebp - 0x3c], eax
push 0
push 1
mov eax, dword [ebp - 0x1c]
push eax
call dword [ebp - 0x3c]
test al, al
je 0x46e5c0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x3c]
mov dword [eax], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret