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

Disassembly:
sub esp, 0x5c
push esi
mov esi, ecx
call dword [0x68a96c]
test eax, eax
je 0x45bf79
xor eax, eax
pop esi
add esp, 0x5c
ret 0x14
push ebx
push ebp
push edi
call fcn.004c5e21
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 8]
mov ebp, dword [esp + 0x74]
lea edi, [esi + 8]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x20]
push eax
call dword [0x68a968]
push eax
call fcn.004aa9b1
mov ecx, dword [ebp + 0x20]
mov ebx, dword [0x68a810]
push ecx
call ebx
mov eax, dword [esp + 0x80]
test eax, eax
je 0x45bfc9
mov edx, dword [eax + 0x20]
push edx
call ebx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x38], edx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.004c5170
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x7c]
sub ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x45c037
mov edx, dword [eax + 0x20]
push 2
push 0
push edx
call dword [0x68a94c]
jmp 0x45c041
mov eax, dword [ebp + 0x20]
push eax
call dword [0x68a7d8]
push eax
call fcn.004a5609
mov dword [esp + 0x10], eax
test eax, eax
jne 0x45c054
call fcn.004a1df9
push 0
push 0
push 0
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x24], 0
call dword [0x68a954]
call dword [0x68a96c]
push eax
call fcn.004aa9b1
cmp eax, ebp
jne 0x45c287
mov ebx, dword [0x68a838]
jmp 0x45c090
mov eax, dword [esp + 0x54]
cmp eax, 0x202
ja 0x45c2f6
je 0x45c0b7
cmp eax, 0x100
je 0x45c238
cmp eax, 0x200
jne 0x45c301
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov ecx, dword [edi + 8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
test eax, eax
je 0x45c0e5
movsx ecx, word [esp + 0x5c]
sub ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x45c0fd
mov edx, dword [esp + 0x5c]
shr edx, 0x10
movsx ecx, dx
sub ecx, dword [esp + 0x1c]
mov dword [eax], ecx
cmp dword [esp + 0x70], 8
jne 0x45c2a8
mov ecx, dword [edi]
mov edx, dword [esp + 0x28]
lea eax, [ecx + edx]
mov edx, dword [esi + 0xc]
add edx, dword [esp + 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 0x14], edx
mov edx, dword [esi + 0x58]
lea ebp, [eax + edx]
cmp ecx, ebp
jg 0x45c135
sub eax, ecx
push 0
add eax, edx
push eax
push edi
call ebx
mov ecx, dword [esi + 0x58]
mov eax, dword [esi + 0x4c]
mov edx, dword [esi + 0xc]
lea ebp, [eax + ecx]
cmp edx, ebp
jg 0x45c14f
sub eax, edx
add eax, ecx
push eax
push 0
push edi
call ebx
mov eax, dword [esi + 0x50]
sub eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x10]
cmp ecx, eax
jl 0x45c164
push 0
sub eax, ecx
push eax
push edi
call ebx
mov eax, dword [esi + 0x54]
sub eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x14]
cmp ecx, eax
jl 0x45c179
sub eax, ecx
push eax
push 0
push edi
call ebx
mov ebp, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov eax, dword [esi]
mov edx, dword [eax + 4]
push edi
push ecx
mov ecx, esi
call edx
xor eax, eax
cmp dword [esp + 0x54], 0x202
push edi
sete al
lea ecx, [esp + 0x44]
push ecx
mov dword [esi + 0x44], eax
call dword [0x68a848]
test eax, eax
je 0x45c1b2
cmp dword [esi + 0x44], 0
je 0x45c205
cmp dword [esp + 0x14], 0
je 0x45c1db
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x80]
mov edx, dword [esi]
mov edx, dword [edx]
push ebp
push eax
push ecx
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
mov dword [esi + 0x40], 1
call edx
mov eax, dword [esi]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call edx
cmp dword [esp + 0x54], 0x202
je 0x45c1fb
mov dword [esp + 0x14], 1
cmp dword [esi + 0x44], 0
jne 0x45c287
push edi
lea eax, [esp + 0x44]
push eax
call dword [0x68a848]
test eax, eax
jne 0x45c30c
mov ecx, dword [esp + 0x80]
mov edx, dword [esi]
mov edx, dword [edx]
push ebp
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x14]
push eax
push ecx
push edi
mov ecx, esi
call edx
jmp 0x45c30c
cmp dword [esp + 0x58], 0x1b
jne 0x45c30c
cmp dword [esp + 0x14], 0
je 0x45c26c
mov ecx, dword [esp + 0x80]
mov edx, dword [esi]
mov edx, dword [edx]
mov eax, 1
push ebp
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x14]
push eax
push ecx
push edi
mov ecx, esi
call edx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [edi], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x80]
mov edx, dword [ecx + 4]
xor ebx, ebx
push edx
cmp eax, ebx
je 0x45c336
mov eax, dword [eax + 0x20]
jmp 0x45c339
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x48]
add ecx, eax
cmp dword [edi], ecx
jg 0x45c2b6
mov dword [edi], eax
mov edx, dword [esi + 0x4c]
add edx, eax
cmp dword [esi + 0xc], edx
jg 0x45c2c3
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0x50]
sub ecx, eax
cmp dword [esi + 0x10], ecx
jl 0x45c2d8
mov edx, dword [esi + 0x50]
sub edx, eax
sub edx, dword [esi + 0x48]
mov dword [esi + 0x10], edx
mov ecx, dword [esi + 0x54]
sub ecx, eax
cmp dword [esi + 0x14], ecx
jl 0x45c17d
mov edx, dword [esi + 0x54]
sub edx, dword [esi + 0x4c]
sub edx, eax
mov dword [esi + 0x14], edx
jmp 0x45c17d
cmp eax, 0x204
je 0x45c243
lea eax, [esp + 0x50]
push eax
call dword [0x68a988]
push 0
push 0
push 0
lea ecx, [esp + 0x5c]
push ecx
call dword [0x68a954]
call dword [0x68a96c]
push eax
call fcn.004aa9b1
cmp eax, ebp
je 0x45c090
jmp 0x45c287
mov eax, dword [ebp + 0x20]
push eax
call dword [0x68a9c4]
call dword [0x68a95c]
push ebx
call fcn.004c6039
cmp dword [esp + 0x14], ebx
jne 0x45c36d
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [edi], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
push edi
lea edx, [esp + 0x34]
push edx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], ebx
call dword [0x68a848]
pop edi
neg eax
pop ebp
sbb eax, eax
pop ebx
inc eax
pop esi
add esp, 0x5c
ret 0x14