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

Disassembly:
push 0xffffffffffffffff
push 0x4ef4f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
mov eax, dword [0x54a2b0]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x114]
mov edi, ecx
mov ecx, dword [esp + 0x110]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x38], edi
call fcn.004696a0
mov ebp, eax
mov ecx, ebp
call fcn.00462d20
mov ecx, ebp
mov dword [esp + 0x34], eax
call fcn.00462d30
mov dword [esp + 0x3c], eax
mov edx, dword [ebp + 8]
push edx
call fcn.00402720
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00402720
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x10]
mov eax, dword [eax]
mov esi, dword [eax + 8]
add esp, 8
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call fcn.00467660
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x58]
xor ebx, ebx
mov dword [esp + 0xac], ecx
push eax
lea ecx, [esp + 0xa8]
mov dword [esp + 0xb4], edx
push ecx
lea edx, [esp + 0x9c]
push edx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call fcn.00411e80
mov esi, 0xf
add esp, 0xc
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
mov dword [esp + 0x108], ebx
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
mov edx, dword [esp + 0x64]
lea eax, [esp + 0xc4]
push eax
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0xe4]
push ecx
push edx
push eax
mov ecx, edi
mov byte [esp + 0x118], 1
call fcn.0046a100
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push ecx
push edx
call fcn.004091b0
add esp, 8
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x46c29e
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
push 4
push 0x50356c
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
call fcn.00401eb0
sub esp, 0xc
mov esi, esp
mov ecx, esi
mov byte [esp + 0x114], 2
mov dword [esp + 0x20], esp
call fcn.00402630
mov dword [esi], 0x51f9ec
mov dword [esi + 8], 0xccff00
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0xf4]
push edx
mov byte [esp + 0x120], 2
call fcn.00409d30
mov ecx, eax
call fcn.0040ac80
push eax
call fcn.004b0820
mov eax, dword [esp + 0x94]
add esp, 0x14
cmp eax, 0x10
mov byte [esp + 0x108], 1
jb 0x46c335
mov eax, dword [esp + 0x6c]
push eax
call fcn.004c2c15
add esp, 4
push 4
push 0x503574
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
call fcn.00401eb0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push ecx
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0xd0]
push ecx
mov byte [esp + 0x118], 4
call fcn.00409d30
mov ecx, eax
call fcn.0040ac80
push eax
call fcn.004b0970
mov esi, eax
mov eax, dword [esp + 0x8c]
add esp, 0xc
cmp eax, 0x10
mov dword [esp + 0x18], esi
mov byte [esp + 0x108], 1
jb 0x46c3b6
mov edx, dword [esp + 0x6c]
push edx
call fcn.004c2c15
add esp, 4
cmp esi, ebx
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
je 0x46c3d3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov edi, dword [edi + 0x10]
mov eax, dword [edi]
cmp eax, edi
mov dword [esp + 0x20], eax
je 0x46c656
jmp 0x46c3f0
mov eax, dword [esp + 0x20]
lea ebx, [ebx]
mov ecx, dword [ebp + 8]
mov esi, dword [eax + 8]
push ecx
call fcn.00402720
mov edx, dword [ebp + 0xc]
push edx
mov dword [esp + 0x24], eax
call fcn.00402720
add esp, 8
mov ecx, ebp
mov dword [esp + 0x28], eax
call fcn.00462d20
mov ecx, ebp
mov dword [esp + 0x40], eax
call fcn.00462d30
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.00467660
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov ecx, dword [esi + 0x48]
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0x24]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x88], edx
lea edx, [esp + 0x48]
mov dword [esp + 0x8c], eax
push edx
lea eax, [esp + 0x88]
mov dword [esp + 0x94], ecx
push eax
lea ecx, [esp + 0xbc]
push ecx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.00411e80
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x58]
mov eax, dword [ecx]
mov edi, dword [esp + 0x54]
add esp, 0xc
mov dword [esp + 0x10], edx
call dword [eax + 0x20]
sub edi, dword [esp + 0x10]
add eax, edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x48], eax
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x4c]
mov edx, dword [ecx]
call dword [edx + 0x28]
sub edi, dword [esp + 0x10]
add eax, edi
push 0xd4
mov dword [esp + 0x50], eax
call fcn.004c14e8
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x108], 5
je 0x46c53f
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ebx
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x30]
push ecx
push edx
mov ecx, eax
call fcn.00463b40
mov edi, eax
jmp 0x46c541
xor edi, edi
mov ecx, dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x4c]
mov edx, dword [ecx]
mov byte [esp + 0x108], 1
mov dword [esp + 0x14], eax
call dword [edx + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x118]
sub eax, ecx
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x11c]
push eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x28]
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
add eax, ecx
push eax
mov eax, dword [esp + 0x1c]
add eax, edx
push eax
mov ecx, edi
call fcn.00463cc0
mov ecx, dword [esi + 0x8c]
push edi
push ecx
call fcn.004120d0
add esp, 8
call fcn.00473fc0
mov eax, dword [eax + 0x18]
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.004650c0
test eax, eax
jle 0x46c604
mov edx, dword [edi + 0x4c]
mov ecx, dword [esp + 0x14]
push 1
push esi
mov dword [esp + 0x18], edx
call fcn.004650c0
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
mov edx, dword [edi]
sub eax, 6
push eax
mov ecx, edi
call dword [edx + 0x20]
mov ecx, eax
mov eax, dword [esp + 0x20]
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax - 5]
mov ecx, dword [esp + 0x40]
push edx
call fcn.0046b970
mov eax, dword [edi + 0x4c]
mov edx, dword [edi]
push ebx
push esi
push 0x3e8
mov ecx, edi
mov dword [esp + 0x20], eax
call dword [edx + 0x28]
sub eax, 6
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
mov esi, dword [esp + 0x40]
mov ecx, eax
mov eax, dword [esp + 0x24]
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax - 5]
push edx
mov ecx, esi
call fcn.0046b970
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
cmp eax, dword [esi + 0x10]
mov dword [esp + 0x20], eax
jne 0x46c3e6
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x46c661
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x46c66e
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esp + 0xdc], 0x10
jb 0x46c688
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.004c2c15
add esp, 4
cmp dword [esp + 0xf8], 0x10
mov dword [esp + 0xdc], 0xf
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
jb 0x46c6bb
mov edx, dword [esp + 0xe4]
push edx
call fcn.004c2c15
add esp, 4
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xfc]
call fcn.004c2e45
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret 0x10