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

Disassembly:
push 0xffffffffffffffff
push 0x4a5fc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
mov ebx, ecx
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
call fcn.0046b720
test al, al
jne 0x46c5a5
mov ecx, ebx
call fcn.0045e1a0
xor al, al
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov eax, dword [ebx + 0x20c]
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x6c], ebp
call fcn.00457590
mov eax, dword [ebx + 0x208]
mov eax, dword [eax]
lea edi, [ebx + 0x204]
mov esi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
cmp esi, ebp
mov ecx, dword [edi + 4]
mov dword [esp + 0x24], ecx
je 0x46c5f1
cmp esi, edi
je 0x46c5fa
call fcn.0048c48f
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x24]
je 0x46c675
cmp esi, ebp
jne 0x46c60d
call fcn.0048c48f
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 4]
jne 0x46c61b
call fcn.0048c48f
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x24], 0x10
jb 0x46c626
mov esi, dword [eax + 0x10]
jmp 0x46c629
lea esi, [eax + 0x10]
mov edx, 1
mov ecx, esi
call fcn.00443150
mov edx, 2
mov ecx, esi
mov ebp, eax
call fcn.00443150
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], esi
call fcn.00459ef0
lea ecx, [esp + 0x18]
call fcn.0044aee0
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
xor ebp, ebp
jmp 0x46c5e2
add dword [ebx + 0x214], 0xffffffff
cmp dword [ebx + 0x214], ebp
jg 0x46c6ad
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
call fcn.0045bb60
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [edi + 8], ebp
mov dword [eax], eax
mov edi, dword [edi + 4]
mov dword [edi + 8], edi
mov byte [ebx + 0x210], 0
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp esi, eax
mov edi, eax
jbe 0x46c6d1
call fcn.0048c48f
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp esi, eax
jbe 0x46c6d1
call fcn.0048c48f
mov edx, edi
sub edx, esi
sar edx, 4
push edx
mov edx, edi
mov ecx, esi
call fcn.00457100
or eax, 0xffffffff
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
xor ecx, ecx
push edx
lea eax, [esp + 0x38]
push ecx
push eax
mov ecx, eax
mov byte [esp + 0x78], 1
call fcn.00458950
mov esi, dword [ebx + 0x1c0]
cmp esi, dword [ebx + 0x1c4]
lea edi, [ebx + 0x1bc]
jbe 0x46c738
call fcn.0048c48f
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], eax
jbe 0x46c74d
call fcn.0048c48f
cmp edi, edi
je 0x46c756
call fcn.0048c48f
cmp esi, dword [esp + 0x18]
je 0x46c98e
cmp esi, dword [edi + 8]
jb 0x46c76a
call fcn.0048c48f
cmp dword [esi + 0xc], 0xfffffffe
jae 0x46c930
cmp esi, dword [edi + 8]
jb 0x46c77e
call fcn.0048c48f
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
cmp edi, esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ebp
mov ebx, esi
jbe 0x46c7b7
call fcn.0048c48f
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
cmp edi, esi
jbe 0x46c7b7
call fcn.0048c48f
mov esi, dword [esp + 0x48]
push 0
lea edx, [esp + 0x54]
lea eax, [esp + 0x44]
push edx
mov edx, ebx
mov ecx, edi
mov ebp, eax
mov dword [esp + 0x24], edi
call fcn.0044f1a0
cmp dword [esp + 0x44], esi
mov edi, eax
mov ebx, esi
jbe 0x46c7e0
call fcn.0048c48f
xor esi, esi
cmp ebp, esi
je 0x46c7ee
lea eax, [esp + 0x40]
cmp ebp, eax
je 0x46c7f3
call fcn.0048c48f
cmp edi, ebx
je 0x46c94b
cmp ebp, esi
jne 0x46c804
call fcn.0048c48f
cmp edi, dword [ebp + 8]
jb 0x46c80e
call fcn.0048c48f
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
add eax, 0x1bc
cmp ebx, dword [eax + 8]
jb 0x46c825
call fcn.0048c48f
mov ecx, dword [edi]
cmp ecx, dword [ebx]
jne 0x46c94b
mov edx, dword [edi + 4]
cmp edx, dword [ebx + 4]
jne 0x46c94b
cmp edi, dword [ebp + 8]
jb 0x46c845
call fcn.0048c48f
mov ecx, dword [edi + 8]
xor edx, edx
call fcn.00443150
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov esi, eax
add edi, 0xffffffff
and esi, edi
mov ebp, esi
test ecx, ecx
je 0x46c873
mov eax, edx
sub eax, ecx
sar eax, 4
cmp esi, eax
jb 0x46c880
call fcn.0048c48f
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov eax, esi
shl eax, 4
cmp dword [eax + ecx + 0xc], 0xfffffffe
jae 0x46c8da
add esi, 1
and esi, edi
cmp ebp, esi
jne 0x46c864
xor esi, esi
cmp ecx, esi
je 0x46c8a4
push ecx
call fcn.00409f10
add esp, 4
mov eax, dword [esp + 0x44]
cmp eax, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
je 0x46c979
push eax
call fcn.00409f10
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
mov eax, dword [esp + 0x10]
add eax, 0x1bc
cmp ebx, dword [eax + 8]
jb 0x46c8f5
call fcn.0048c48f
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x46c902
sub edx, ecx
sar edx, 4
cmp esi, edx
jb 0x46c90b
call fcn.0048c48f
mov ecx, dword [esp + 0x34]
shl esi, 4
add esi, ecx
mov ecx, dword [ebx]
mov dword [esi], ecx
mov edx, dword [ebx + 4]
mov dword [esi + 4], edx
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov ecx, dword [ebx + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esi + 0xc], ecx
mov esi, dword [esp + 0x24]
xor ebp, ebp
cmp esi, dword [ebx + 0x1c4]
lea edi, [ebx + 0x1bc]
jb 0x46c943
call fcn.0048c48f
add esi, 0x10
jmp 0x46c738
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x46c95c
push eax
call fcn.00409f10
add esp, 4
mov eax, dword [esp + 0x44]
cmp eax, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
je 0x46c979
push eax
call fcn.00409f10
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
mov eax, dword [edi + 4]
cmp eax, ebp
mov edx, dword [esp + 0x34]
mov dword [edi + 4], edx
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x38]
mov dword [edi + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 0xc], edx
mov dword [esp + 0x34], eax
mov dword [ebx + 0x40], ecx
je 0x46c9cc
push eax
call fcn.00409f10
add esp, 4
mov eax, dword [esp + 0x44]
cmp eax, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
je 0x46c9e9
push eax
call fcn.00409f10
add esp, 4
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret