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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54caa3
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x598c90]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x18], edi
cmp eax, edi
je 0x46c4b8
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x1c]
call fcn.0040f340
push edi
mov dword [esp + 0x5c], edi
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.0043a4a0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x58], 0xffffffff
call fcn.0041add0
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x46c4e3
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x1c]
call fcn.0040f340
lea edx, [ebp + 0x14]
mov dword [esp + 0x18], 1
call fcn.0041b470
test al, al
jne 0x46c4e3
xor bl, bl
jmp 0x46c4e5
mov bl, 1
test byte [esp + 0x18], 1
je 0x46c4f5
lea ecx, [esp + 0x1c]
call fcn.0041add0
test bl, bl
je 0x46c5f2
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x1c]
call fcn.0040f340
lea esi, [ebp + 0x14]
call fcn.0041ae20
lea ecx, [esp + 0x1c]
call fcn.0041add0
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
je 0x46c52c
mov dword [ebp + 0x10], edi
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov edi, dword [ebp + 8]
test edi, edi
jne 0x46c537
xor esi, esi
jmp 0x46c53f
call fcn.0043a1f0
mov esi, eax
dec esi
mov eax, dword [ebp + 4]
call fcn.0042cfd0
cmp esi, dword [eax + 0xc]
jae 0x46c5f2
mov eax, dword [eax]
mov esi, dword [eax + esi*4]
test esi, esi
je 0x46c5f2
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x38], edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x3c], eax
mov al, byte [ebp + 0x28]
push 0xe0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov byte [esp + 0x4c], al
call fcn.0051e4bd
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x58], 1
test eax, eax
je 0x46c5b6
movzx ecx, byte [ebp + 0x29]
push ecx
push esi
push eax
lea ecx, [esp + 0x40]
call fcn.004699d0
jmp 0x46c5b8
xor eax, eax
mov dword [esp + 0x58], 0xffffffff
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
je 0x46c5d6
mov dword [ebp + 0x10], eax
test ecx, ecx
je 0x46c5d6
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x46c5f2
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
push ecx
call fcn.004335f0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x46c607
push eax
call fcn.0043cef0
mov eax, dword [ebp + 0x2c]
call fcn.00434000
mov edi, dword [ebp + 0x30]
test edi, edi
je 0x46c6dd
push 0
call fcn.00439f50
lea ecx, [esp + 0x20]
push ecx
call fcn.004c2d60
add esp, 4
mov ebx, 2
mov eax, str.___none___
lea ecx, [esp + 0x1c]
mov dword [esp + 0x58], ebx
call fcn.0041ace0
mov byte [esp + 0x58], 3
mov esi, dword [ebp + 0x30]
push eax
or edi, 0xffffffff
call fcn.00439e80
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], bl
call fcn.0041add0
mov eax, dword [ebp + 0x30]
call fcn.00439f30
xor eax, eax
cmp dword [esp + 0x2c], eax
jle 0x46c68d
jmp 0x46c670
mov esi, dword [ebp + 0x30]
lea ecx, [esp + 0x20]
lea edi, [eax + 1]
call fcn.0041db80
push eax
call fcn.00439e80
mov eax, edi
cmp eax, dword [esp + 0x2c]
jl 0x46c670
mov ecx, dword [ebp + 4]
or esi, 0xffffffff
cmp dword [ecx + 0x1f0], 0
je 0x46c6c0
lea eax, [esp + 0x1c]
call fcn.0040f350
push 0
push eax
lea edx, [esp + 0x28]
push edx
xor eax, eax
call fcn.0041dc60
mov esi, eax
lea ecx, [esp + 0x1c]
inc esi
call fcn.0041add0
mov eax, dword [ebp + 0x30]
push 1
push esi
push eax
call fcn.0043a270
lea edi, [esp + 0x20]
mov dword [esp + 0x58], 0xffffffff
call fcn.0041daf0
mov eax, dword [ebp - 0x80]
mov edx, dword [eax + 0x78]
lea ecx, [ebp - 0x80]
call edx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4