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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
test esi, esi
jne 0x45f613
pop esi
mov eax, 0xffffff9a
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x2c], eax
je 0x45f608
cmp dword [esi + 0x80], 8
push edi
mov dword [esi + 0x34], eax
jne 0x45f66a
cmp dword [esi + 0x84], eax
jne 0x45f66a
nop dword [eax]
cmp dword [esi + 0x40], ebx
jne 0x45f64c
mov ecx, esi
call fcn.0045f420
lea eax, [esi + 0x88]
mov dword [esi + 0x40], 0x4000
mov dword [esi + 0x3c], eax
mov edi, dword [esi + 0x44]
lea ecx, [esi + 0x30]
mov edx, 4
call fcn.00463d00
mov ecx, dword [esi + 0x44]
sub ecx, edi
add dword [esi + 0x6c], ecx
test eax, eax
je 0x45f630
xor ebx, ebx
xor ecx, ecx
cmp eax, 1
cmovne ecx, eax
cmp dword [esi + 0x6c], 0
mov edi, ecx
jbe 0x45f690
test ecx, ecx
jne 0x45f690
mov ecx, esi
call fcn.0045f420
cmp eax, 0xffffffff
mov eax, 0xffffffff
cmove edi, eax
cmp dword [esi + 0x80], 8
jne 0x45f6b3
cmp dword [esi + 0x84], 0
jne 0x45f6cb
lea ecx, [esi + 0x30]
call fcn.004644c0
mov edi, eax
mov dword [esi + 0x68], 0
cmp dword [esi + 0x84], 0
jne 0x45f6cb
mov ebx, dword [esi + 0x408c]
mov eax, dword [esi + 0x38]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
mov ecx, dword [esi + 0x74]
mov eax, ebx
mov edx, dword [esi + 0x40a4]
add edx, dword [esi + 0x44]
shr eax, 8
mov dword [ebp - 0xc], eax
mov byte [ecx + 0x11], al
shr eax, 8
mov byte [ecx + 0x12], al
shr eax, 8
mov byte [ecx + 0x13], al
shr eax, 8
mov dword [ebp - 0x10], edx
mov byte [ecx + 0x10], bl
test eax, eax
je 0x45f702
mov dword [ecx + 0x10], 0xffffffff
mov ecx, dword [esi + 0x74]
mov eax, edx
shr eax, 8
mov dword [ebp - 0x14], eax
mov byte [ecx + 0x15], al
shr eax, 8
mov byte [ecx + 0x16], al
shr eax, 8
mov byte [ecx + 0x17], al
shr eax, 8
mov byte [ecx + 0x14], dl
test eax, eax
je 0x45f72d
mov dword [ecx + 0x14], 0xffffffff
cmp dword [esi + 0x5c], 1
jne 0x45f740
mov eax, dword [esi + 0x74]
mov word [eax + 0x24], 1
nop dword [eax]
mov ecx, dword [esi + 0x74]
mov eax, dword [ebp - 8]
mov ebx, eax
shr ebx, 8
mov byte [ecx + 0x18], al
mov eax, ebx
mov byte [ecx + 0x19], al
shr eax, 8
mov byte [ecx + 0x1a], al
shr eax, 8
mov byte [ecx + 0x1b], al
shr eax, 8
test eax, eax
je 0x45f76d
mov dword [ecx + 0x18], 0xffffffff
test edi, edi
jne 0x45f784
push dword [esi + 0x78]
mov edx, dword [esi + 0x74]
lea ecx, [esi + 0x24]
call fcn.0045ed00
add esp, 4
mov edi, eax
push dword [esi + 0x74]
call fcn.00556b67
add esp, 4
test edi, edi
jne 0x45f8a4
push dword [esi + 0x20]
mov eax, dword [esi + 0xc]
push dword [esi + 0x1c]
call eax
mov ecx, dword [esi + 0x70]
push edi
add ecx, 0xe
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x10]
push ecx
push dword [esi + 0x20]
push dword [esi + 0x1c]
call eax
add esp, 0x18
test eax, eax
je 0x45f7c7
or edi, 0xffffffff
jmp 0x45f887
mov eax, dword [ebp - 4]
mov byte [ebp - 4], al
mov eax, dword [ebp - 0xc]
mov byte [ebp - 3], al
shr eax, 8
mov byte [ebp - 2], al
shr eax, 8
mov byte [ebp - 1], al
shr eax, 8
test eax, eax
je 0x45f7ed
mov dword [ebp - 4], 0xffffffff
push 4
lea eax, [ebp - 4]
push eax
push dword [esi + 0x20]
mov eax, dword [esi + 8]
push dword [esi + 0x1c]
call eax
add esp, 0x10
cmp eax, 4
jne 0x45f7bf
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x14]
mov byte [ebp - 3], al
shr eax, 8
mov byte [ebp - 2], al
shr eax, 8
mov byte [ebp - 1], al
shr eax, 8
test eax, eax
je 0x45f82c
mov dword [ebp - 4], 0xffffffff
push 4
lea eax, [ebp - 4]
push eax
push dword [esi + 0x20]
mov eax, dword [esi + 8]
push dword [esi + 0x1c]
call eax
add esp, 0x10
cmp eax, 4
jne 0x45f7bf
mov eax, dword [ebp - 8]
mov byte [ebp - 3], bl
shr ebx, 8
mov byte [ebp - 2], bl
shr ebx, 8
mov byte [ebp - 1], bl
shr ebx, 8
mov byte [ebp - 4], al
test ebx, ebx
je 0x45f86c
mov dword [ebp - 4], 0xffffffff
push 4
lea eax, [ebp - 4]
push eax
push dword [esi + 0x20]
mov eax, dword [esi + 8]
push dword [esi + 0x1c]
call eax
add esp, 0x10
lea edi, [eax - 4]
neg edi
sbb edi, edi
mov eax, dword [esi + 0x10]
push 0
push dword [ebp - 0x18]
push dword [esi + 0x20]
push dword [esi + 0x1c]
call eax
add esp, 0x10
test eax, eax
mov eax, 0xffffffff
cmovne edi, eax
inc dword [esi + 0x40b0]
mov eax, edi
pop edi
mov dword [esi + 0x2c], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret