Function at 0x464c90
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 0x464cb3
pop esi
mov eax, 0xffffff9a
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x2c], eax
je 0x464ca8
cmp dword [esi + 0x80], 8
push edi
mov dword [esi + 0x34], eax
jne 0x464d0a
cmp dword [esi + 0x84], eax
jne 0x464d0a
nop dword [eax]
cmp dword [esi + 0x40], ebx
jne 0x464cec
mov ecx, esi
call fcn.00464ac0
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.004693a0
mov ecx, dword [esi + 0x44]
sub ecx, edi
add dword [esi + 0x6c], ecx
test eax, eax
je 0x464cd0
xor ebx, ebx
xor ecx, ecx
cmp eax, 1
cmovne ecx, eax
cmp dword [esi + 0x6c], 0
mov edi, ecx
jbe 0x464d30
test ecx, ecx
jne 0x464d30
mov ecx, esi
call fcn.00464ac0
cmp eax, 0xffffffff
mov eax, 0xffffffff
cmove edi, eax
cmp dword [esi + 0x80], 8
jne 0x464d53
cmp dword [esi + 0x84], 0
jne 0x464d6b
lea ecx, [esi + 0x30]
call fcn.00469b60
mov edi, eax
mov dword [esi + 0x68], 0
cmp dword [esi + 0x84], 0
jne 0x464d6b
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 0x464da2
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 0x464dcd
mov dword [ecx + 0x14], 0xffffffff
cmp dword [esi + 0x5c], 1
jne 0x464de0
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 0x464e0d
mov dword [ecx + 0x18], 0xffffffff
test edi, edi
jne 0x464e24
push dword [esi + 0x78]
mov edx, dword [esi + 0x74]
lea ecx, [esi + 0x24]
call fcn.004643a0
add esp, 4
mov edi, eax
push dword [esi + 0x74]
call fcn.0055c217
add esp, 4
test edi, edi
jne 0x464f44
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 0x464e67
or edi, 0xffffffff
jmp 0x464f27
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 0x464e8d
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 0x464e5f
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 0x464ecc
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 0x464e5f
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 0x464f0c
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