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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov edi, dword [esp + 0xb8]
mov ebx, dword [esp + 0xb0]
mov esi, dword [esp + 0xb4]
mov ebp, dword [esp + 0xbc]
mov dword [esp + 0x60], edi
mov edi, eax
mov eax, edx
shr eax, 0x1f
mov dword [esp + 0x64], ebp
mov ebp, edx
mov dword [esp + 0x78], eax
mov eax, ebx
mov edx, esi
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x28]
sar edx, 0x1f
mov eax, edx
mov ebx, esi
mov dword [esp + 0x2c], esi
shr ebx, 0x1f
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
xor ecx, eax
mov dword [esp + 0x7c], ebx
mov ebx, ecx
mov ecx, dword [esp + 0x2c]
xor ecx, edx
sub ebx, eax
mov esi, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], ebx
sbb esi, edx
mov edx, ebp
sar edx, 0x1f
mov dword [esp + 0xc], esi
mov eax, edx
xor ecx, eax
mov edi, ecx
mov ecx, dword [esp + 0x14]
xor ecx, edx
sub edi, eax
mov ebp, ecx
mov dword [esp], edi
sbb ebp, edx
mov dword [esp + 4], ebp
call fcn.00892000
mov ecx, edx
mov edx, eax
or edx, ecx
je 0x8a000e
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
call fcn.00bd0e70
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
call fcn.00bd0e70
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
cmp edx, esi
jl 0x8a030c
jle 0x8a0304
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov eax, ebx
mov ebp, esi
or eax, esi
je 0x8a0535
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00bd0e70
mov ecx, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov esi, edx
mov dword [esp + 0x3c], ebp
imul ebp, ecx
mov edx, eax
mov edi, eax
mov dword [esp + 0x38], eax
mov eax, edi
mov edi, dword [esp + 0x10]
imul edx, esi
lea ebp, [edx + ebp]
mul ecx
add edx, ebp
mov ebp, dword [esp + 0x14]
sub edi, eax
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x60]
sbb ebp, edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x1c], ebp
cmp edx, esi
jl 0x8a0380
jle 0x8a0370
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov eax, esi
mov edx, edi
add eax, 0xffffffff
adc edx, 0xffffffff
mov eax, edx
or eax, edi
js 0x8a0380
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 1
lea esi, [esi]
lea edi, [edi]
mov esi, eax
mov eax, edi
mov dword [esp + 0x20], ecx
or eax, ebp
mov ebx, ebp
je 0x8a0529
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov dword [esp], edi
mov dword [esp + 4], ebp
call fcn.00bd0e70
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x10], eax
mov ebx, edx
mov eax, dword [esp + 0x18]
mov ecx, edx
mov edx, dword [esp + 0x3c]
imul edx, dword [esp + 0x10]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x48], esi
imul ecx, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
add ecx, edx
mul dword [esp + 0x10]
add edx, ecx
sub edi, eax
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x20]
sbb ebp, edx
mov dword [esp + 0x5c], ebp
mov ecx, edi
mov dword [esp + 0x70], edi
sar ecx, 0x1f
mov edx, ecx
mov dword [esp + 0x74], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x10]
mov eax, edx
imul ecx, edi
imul eax, ebx
add ecx, eax
mov eax, ebx
mul edi
add edx, ecx
mov ecx, dword [esp + 0x44]
mov ebx, ecx
sar ebx, 0x1f
add ecx, eax
mov eax, esi
adc ebx, edx
sar eax, 0x1f
mov edx, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
imul edx, esi
mov edi, eax
mov ebp, eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
sar ebp, 0x1f
imul eax, dword [esp + 0x10]
mov dword [esp + 0x6c], ebp
add eax, edx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
mul esi
add edx, dword [esp + 0x50]
add eax, edi
mov edi, dword [esp + 0x60]
adc edx, ebp
mov ebp, dword [esp + 0x64]
cmp ebp, ebx
jge 0x8a0462
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x10]
test edi, edi
jne 0x8a04c0
mov eax, esi
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cdq
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
mov eax, ebx
imul eax, esi
imul edx, ecx
add eax, edx
mov ebx, eax
mov eax, dword [esp + 0x28]
mul esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add dword [esp + 0x24], ebx
shld edx, eax, 1
add eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
test esi, esi
je 0x8a0290
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
cdq
sub ecx, eax
sbb ebx, edx
mov eax, ecx
mov ecx, dword [esp + 0x18]
mov edx, ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.00bd0e70
cmp dword [esp + 0x30], edx
jb 0x8a0290
ja 0x8a0457
cmp ebp, eax
ja 0x8a0457
nop
lea esi, [esi]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov eax, ebx
mov ebx, dword [esp + 0x3c]
imul eax, ebp
imul edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x10]
add ecx, edx
mul ebp
add edx, ecx
add eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
adc edx, dword [esp + 0x6c]
imul ebx, eax
imul ecx, edx
mul dword [esp + 0x38]
add ecx, ebx
mov ebx, dword [esp + 0x24]
add edx, ecx
mov ecx, dword [esp + 0x20]
cmp edx, ebx
jb 0x8a04b3
ja 0x8a02e8
cmp eax, ecx
jbe 0x8a04b3
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
imul eax, ebp
imul ebp, dword [esp + 0x48]
add edi, eax
xor eax, eax
add esi, ebp
jmp 0x8a032d
cmp eax, ebx
ja 0x8a002c
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x28]
cmp edx, esi
jge 0x8a0360
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov eax, 1
movzx ebx, byte [esp + 0x7c]
cmp byte [esp + 0x78], bl
je 0x8a033a
neg edi
mov edx, dword [esp + 0xa0]
mov dword [edx], edi
mov edx, dword [esp + 0xa4]
mov dword [edx], esi
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
jg 0x8a002c
cmp eax, ebx
jbe 0x8a0320
jmp 0x8a002c
cmp eax, ecx
jae 0x8a00ad
nop
lea esi, [esi]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
xor esi, esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov edi, 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], 0
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x70], 1
mov dword [esp + 0x74], 0
mov esi, esi
lea edi, [edi]
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
sbb edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edx
call fcn.00bd0e70
mov ebp, eax
mov dword [esp + 0x30], edx
jmp 0x8a023f
mov ebp, eax
mov dword [esp + 0x30], edx
jmp 0x8a0290
jg 0x8a046c
cmp edi, ecx
jb 0x8a01e4
cmp ebp, edx
jl 0x8a01e4
jg 0x8a047e
cmp edi, eax
jb 0x8a01e4
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x1c], edi
mov ebp, edi
mov dword [esp + 0x18], esi
mov edi, esi
jmp 0x8a00f0
xor eax, eax
jmp 0x8a032d
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x30], eax
sar eax, 0x1f
mov dword [esp + 0x34], eax
mov eax, edi
sar eax, 0x1f
mov dword [esp + 0x54], eax
mov eax, esi
cdq
mov eax, ebx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
imul eax, esi
imul edx, ecx
lea ebp, [eax + edx]
mov eax, ecx
mul esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add dword [esp + 0x24], ebp
shld edx, eax, 1
add eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x8a0420
mov edi, ecx
mov eax, 1
jmp 0x8a032d
mov eax, 1
xor esi, esi
mov edi, 1
jmp 0x8a032d