Function at 0x462e50
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 0x462e73
pop esi
mov eax, 0xffffff9a
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x2c], eax
je 0x462e68
cmp dword [esi + 0x80], 8
push edi
mov dword [esi + 0x34], eax
jne 0x462eca
cmp dword [esi + 0x84], eax
jne 0x462eca
nop dword [eax]
cmp dword [esi + 0x40], ebx
jne 0x462eac
mov ecx, esi
call fcn.00462c80
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.00467560
mov ecx, dword [esi + 0x44]
sub ecx, edi
add dword [esi + 0x6c], ecx
test eax, eax
je 0x462e90
xor ebx, ebx
xor ecx, ecx
cmp eax, 1
cmovne ecx, eax
cmp dword [esi + 0x6c], 0
mov edi, ecx
jbe 0x462ef0
test ecx, ecx
jne 0x462ef0
mov ecx, esi
call fcn.00462c80
cmp eax, 0xffffffff
mov eax, 0xffffffff
cmove edi, eax
cmp dword [esi + 0x80], 8
jne 0x462f13
cmp dword [esi + 0x84], 0
jne 0x462f2b
lea ecx, [esi + 0x30]
call fcn.00467d20
mov edi, eax
mov dword [esi + 0x68], 0
cmp dword [esi + 0x84], 0
jne 0x462f2b
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 0x462f62
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 0x462f8d
mov dword [ecx + 0x14], 0xffffffff
cmp dword [esi + 0x5c], 1
jne 0x462fa0
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 0x462fcd
mov dword [ecx + 0x18], 0xffffffff
test edi, edi
jne 0x462fe4
push dword [esi + 0x78]
mov edx, dword [esi + 0x74]
lea ecx, [esi + 0x24]
call fcn.00462560
add esp, 4
mov edi, eax
push dword [esi + 0x74]
call fcn.0055a3b7
add esp, 4
test edi, edi
jne 0x463104
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 0x463027
or edi, 0xffffffff
jmp 0x4630e7
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 0x46304d
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 0x46301f
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 0x46308c
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 0x46301f
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 0x4630cc
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