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

Disassembly:
push 0xffffffffffffffff
push 0x4ef53f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00466ce0
mov dword [esp + 0x80], 0
lea esp, [esp]
mov esi, dword [esp + 0x34]
test esi, esi
mov edi, dword [esp + 0x30]
ja 0x46cb10
xor esi, esi
jmp 0x46cb28
call fcn.004c2c61
cdq
idiv esi
mov eax, dword [edi]
test edx, edx
jle 0x46cb25
mov edi, edi
dec edx
mov eax, dword [eax]
jne 0x46cb20
mov esi, dword [eax + 8]
test esi, esi
mov dword [esp + 0x1c], esi
je 0x46ce92
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
call fcn.0046e260
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x1c]
mov eax, dword [ecx]
cmp eax, ecx
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], eax
je 0x46cca7
jmp 0x46cb62
mov eax, dword [esp + 0x18]
mov ebp, dword [eax + 8]
mov ecx, esi
xor edi, edi
call fcn.00462d20
cmp eax, 0x28
jge 0x46cb84
mov ecx, esi
call fcn.00462d30
cmp eax, 0x28
jge 0x46cb84
mov edi, 3
mov ecx, ebp
call fcn.00462cf0
mov ecx, ebp
mov dword [esp + 0x20], eax
call fcn.00462cf0
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00402720
mov ecx, dword [ebp + 8]
push ecx
mov ebx, eax
call fcn.00402720
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
add esp, 8
mov dword [esp + 0x28], eax
lea ebp, [edi + edi]
call dword [edx + 0x24]
mov ecx, dword [esp + 0x24]
add eax, ebp
mov dword [esp + 0x20], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [esp + 0x28]
sub ecx, edi
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x20]
add eax, ebp
mov dword [esp + 0x54], ecx
sub ebx, edi
mov ecx, esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], eax
call fcn.00462cf0
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.00462cf0
mov edx, dword [esi + 0xc]
push edx
mov dword [esp + 0x28], eax
call fcn.00402720
mov ebx, eax
mov eax, dword [esi + 8]
push eax
call fcn.00402720
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
add esp, 8
mov dword [esp + 0x20], eax
call dword [edx + 0x24]
mov ecx, dword [esp + 0x24]
add eax, ebp
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [esp + 0x20]
sub ecx, edi
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x48]
add eax, ebp
mov dword [esp + 0x44], ecx
sub ebx, edi
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
call fcn.00411d80
test al, al
jne 0x46cc8b
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x3c]
call fcn.00411e60
test al, al
jne 0x46cc8b
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00411e60
test al, al
je 0x46cc90
mov byte [esp + 0x13], 0
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x1c]
mov dword [esp + 0x18], eax
jne 0x46cb5e
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x34]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x18], eax
je 0x46ce07
jmp 0x46ccc2
mov eax, dword [esp + 0x18]
mov ebp, dword [eax + 8]
mov ecx, esi
xor edi, edi
call fcn.00462d20
cmp eax, 0x28
jge 0x46cce4
mov ecx, esi
call fcn.00462d30
cmp eax, 0x28
jge 0x46cce4
mov edi, 3
mov ecx, ebp
call fcn.00462cf0
mov ecx, ebp
mov dword [esp + 0x28], eax
call fcn.00462cf0
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00402720
mov ecx, dword [ebp + 8]
push ecx
mov ebx, eax
call fcn.00402720
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
add esp, 8
mov dword [esp + 0x20], eax
lea ebp, [edi + edi]
call dword [edx + 0x24]
mov ecx, dword [esp + 0x24]
add eax, ebp
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [esp + 0x20]
sub ecx, edi
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x28]
add eax, ebp
mov dword [esp + 0x74], ecx
sub ebx, edi
mov ecx, esi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
call fcn.00462cf0
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.00462cf0
mov edx, dword [esi + 0xc]
push edx
mov dword [esp + 0x28], eax
call fcn.00402720
mov ebx, eax
mov eax, dword [esi + 8]
push eax
call fcn.00402720
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
add esp, 8
mov dword [esp + 0x20], eax
call dword [edx + 0x24]
mov ecx, dword [esp + 0x24]
add eax, ebp
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [esp + 0x20]
sub ecx, edi
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x68]
add eax, ebp
mov dword [esp + 0x64], ecx
sub ebx, edi
push edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], eax
call fcn.00411d80
test al, al
jne 0x46cdeb
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x5c]
call fcn.00411e60
test al, al
jne 0x46cdeb
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x6c]
call fcn.00411e60
test al, al
je 0x46cdf0
mov byte [esp + 0x13], 0
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x34]
mov dword [esp + 0x18], eax
jne 0x46ccbe
mov al, byte [esp + 0x13]
test al, al
je 0x46cb00
mov ebp, dword [esp + 0x8c]
mov edi, dword [ebp + 4]
mov eax, dword [edi + 4]
lea edx, [esp + 0x1c]
push edx
push eax
push edi
mov ecx, ebp
call fcn.0047f110
push 1
mov ecx, ebp
mov ebx, eax
call fcn.00466b90
mov dword [edi + 4], ebx
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x1c]
mov dword [ecx], ebx
mov ecx, dword [esp + 0x88]
push edx
call fcn.0046e260
mov edi, dword [esp + 0x30]
mov eax, dword [edi]
cmp eax, edi
mov dword [edi], edi
mov dword [edi + 4], edi
je 0x46ce72
mov ebx, dword [eax]
push eax
call fcn.004c2c15
add esp, 4
cmp ebx, edi
mov eax, ebx
jne 0x46ce61
push edi
call fcn.004c2c15
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 8
mov eax, dword [edi]
cmp eax, edi
mov dword [edi], edi
mov dword [edi + 4], edi
je 0x46ceb1
lea ecx, [ecx]
mov esi, dword [eax]
push eax
call fcn.004c2c15
add esp, 4
cmp esi, edi
mov eax, esi
jne 0x46cea0
push edi
call fcn.004c2c15
mov ecx, dword [esp + 0x7c]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 8