Function at 0x455210
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 0x455233
pop esi
mov eax, 0xffffff9a
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x2c], eax
je 0x455228
cmp dword [esi + 0x80], 8
push edi
mov dword [esi + 0x34], eax
jne 0x45528a
cmp dword [esi + 0x84], eax
jne 0x45528a
nop dword [eax]
cmp dword [esi + 0x40], ebx
jne 0x45526c
mov ecx, esi
call fcn.00455040
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.00459920
mov ecx, dword [esi + 0x44]
sub ecx, edi
add dword [esi + 0x6c], ecx
test eax, eax
je 0x455250
xor ebx, ebx
xor ecx, ecx
cmp eax, 1
cmovne ecx, eax
cmp dword [esi + 0x6c], 0
mov edi, ecx
jbe 0x4552b0
test ecx, ecx
jne 0x4552b0
mov ecx, esi
call fcn.00455040
cmp eax, 0xffffffff
mov eax, 0xffffffff
cmove edi, eax
cmp dword [esi + 0x80], 8
jne 0x4552d3
cmp dword [esi + 0x84], 0
jne 0x4552eb
lea ecx, [esi + 0x30]
call fcn.0045a0e0
mov edi, eax
mov dword [esi + 0x68], 0
cmp dword [esi + 0x84], 0
jne 0x4552eb
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 0x455322
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 0x45534d
mov dword [ecx + 0x14], 0xffffffff
cmp dword [esi + 0x5c], 1
jne 0x455360
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 0x45538d
mov dword [ecx + 0x18], 0xffffffff
test edi, edi
jne 0x4553a4
push dword [esi + 0x78]
mov edx, dword [esi + 0x74]
lea ecx, [esi + 0x24]
call fcn.00454920
add esp, 4
mov edi, eax
push dword [esi + 0x74]
call fcn.00465547
add esp, 4
test edi, edi
jne 0x4554c4
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 0x4553e7
or edi, 0xffffffff
jmp 0x4554a7
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 0x45540d
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 0x4553df
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 0x45544c
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 0x4553df
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 0x45548c
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