Function at 0x4aea90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x542726
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x14c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x160]
mov edi, dword [esp + 0x15c]
mov eax, dword [esp + 0x168]
mov esi, ecx
push ebx
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x34], 0x465788
call fcn.004ac7c0
mov byte [esp + 0x3c], al
mov ebp, dword [esp + 0x16c]
test ebp, ebp
setne al
mov dword [esp + 0x154], 0
test al, al
je 0x4aec74
push pe_nt_image_headers32
lea ecx, [esp + 0x58]
push 0
push ecx
mov dword [esp + 0x150], 0xe
call fcn.00526600
add esp, 0xc
mov eax, dword [esp + 0x170]
add eax, eax
add eax, eax
add eax, eax
mov byte [esp + 0x154], 1
mov byte [esp + 0x20], 0
cmp eax, ebx
jae 0x4aeb71
mov edx, eax
mov dword [esp + 0x14], edx
jmp 0x4aeb77
mov dword [esp + 0x14], ebx
mov edx, ebx
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x24], ecx
mov bl, 1
test edx, edx
jle 0x4aec1b
xor esi, esi
test byte [edi + ebp], bl
jne 0x4aebf4
mov eax, ecx
cmp eax, edx
jge 0x4aeba4
add bl, bl
jne 0x4aeb9d
inc edi
mov bl, 1
inc esi
inc eax
test byte [edi + ebp], bl
je 0x4aeb92
test esi, esi
jle 0x4aebef
mov edx, dword [esp + 0x40]
lea ebp, [edx + ecx]
push esi
push ebp
lea ecx, [esp + 0x20]
call fcn.004c02b0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x164]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push esi
push ebp
call fcn.004ae5c0
test al, al
je 0x4aec39
mov ebp, dword [esp + 0x16c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x20], 1
test byte [edi + ebp], bl
je 0x4aec09
lea eax, [esi + ecx]
cmp eax, edx
jge 0x4aec09
add bl, bl
jne 0x4aec02
inc edi
mov bl, 1
inc esi
inc eax
test byte [edi + ebp], bl
jne 0x4aebf7
add ecx, esi
cmp ecx, edx
mov dword [esp + 0x24], ecx
jl 0x4aeb89
mov esi, dword [esp + 0x1c]
push pe_nt_image_headers32
lea ecx, [esp + 0x58]
push 0
push ecx
mov byte [esp + 0x160], 0
call fcn.00526600
add esp, 0xc
jmp 0x4aec94
push pe_nt_image_headers32
lea eax, [esp + 0x58]
push 0
push eax
call fcn.00526600
add esp, 0xc
cmp byte [esp + 0x3c], 0
mov dword [esp + 0x154], 0xffffffff
mov dword [esp + 0x2c], 0x465788
je 0x4aec70
lea ecx, [esp + 0x2c]
call fcn.004ac810
xor al, al
jmp 0x4aecd4
push ebx
push edi
lea ecx, [esp + 0x20]
call fcn.004c02b0
mov edx, dword [esp + 0x164]
push edx
push ebx
push edi
mov ecx, esi
call fcn.004ae4b0
test al, al
je 0x4aec4d
lea ecx, [esp + 0x18]
call fcn.00501d90
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
mov edx, dword [esi + 0x78]
and edx, 0x100
setne bl
cmp byte [esp + 0x3c], 0
mov dword [esp + 0x154], 0xffffffff
mov dword [esp + 0x2c], 0x465788
je 0x4aecd2
lea ecx, [esp + 0x2c]
call fcn.004ac810
mov al, bl
mov ecx, dword [esp + 0x14c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.00526a8a
add esp, 0x144
ret 0x18