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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov ebx, dword [esp + 0xac]
mov esi, dword [esp + 0xb4]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], esi
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0x34]
shr eax, 0x1f
shr edx, 0x1f
xor edx, eax
mov byte [esp + 0x7f], dl
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], ebx
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
sar edx, 0x1f
xor edi, edx
xor ebp, edx
sub edi, edx
sbb ebp, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 8], edi
sar edx, 0x1f
xor ecx, edx
xor ebx, edx
sub ecx, edx
sbb ebx, edx
mov dword [esp], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 4], ebx
mov dword [esp + 0x1c], ecx
call fcn.006e1080
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x28], edx
or edx, esi
je 0x6e8924
mov edx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
call fcn.0082a3e0
mov dword [esp + 8], esi
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], edx
call fcn.0082a3e0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x34], ecx
jl 0x6e8c5e
jle 0x6e8c50
mov ecx, dword [esp + 0x34]
or ecx, dword [esp + 0x30]
je 0x6e8e0b
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebx
call fcn.0082a3e0
mov esi, eax
mov edi, edx
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x60], edx
mov edx, eax
mov eax, dword [esp + 0x60]
imul edx, edi
imul eax, esi
lea ebp, [edx + eax]
mov eax, dword [esp + 0x3c]
mul esi
add edx, ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x24]
sub eax, dword [esp + 0x28]
sbb edx, dword [esp + 0x2c]
cmp dword [esp + 0x44], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jl 0x6e8d41
jg 0x6e89cf
cmp dword [esp + 0x40], esi
jb 0x6e8d41
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x44]
add eax, 0xffffffff
adc edx, 0xffffffff
or esi, edx
js 0x6e8d41
mov edi, dword [esp + 0x24]
mov eax, 1
mov esi, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x28]
mov edx, edi
or edx, esi
mov dword [esp + 0x78], 1
mov dword [esp + 0x64], 0
mov dword [esp + 0x20], eax
je 0x6e8d20
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0082a3e0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x58], ebx
mov ecx, eax
mov ebp, edx
mov eax, edi
imul eax, ecx
imul ebp, esi
mov dword [esp + 0x38], edx
add ebp, eax
mov eax, esi
mul ecx
add edx, ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x34]
sub eax, dword [esp + 0x28]
sbb edx, dword [esp + 0x2c]
imul ebp, ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov edx, ebx
sar edx, 0x1f
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x5c]
imul eax, ecx
add ebp, eax
mov eax, ecx
mul ebx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x78]
add edx, ebp
mov dword [esp + 0x4c], edx
mov dword [esp + 0x28], eax
mov edx, eax
mov eax, dword [esp + 0x48]
sar edx, 0x1f
add dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x4c]
adc dword [esp + 0x2c], edx
mov dword [esp + 0x48], eax
mov edx, eax
mov eax, dword [esp + 0x64]
sar edx, 0x1f
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x4c], edx
imul ebp, dword [esp + 0x20]
mov edx, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x4c]
sar edx, 0x1f
mov dword [esp + 0x54], edx
imul eax, ecx
add ebp, eax
mov eax, dword [esp + 0x20]
mul ecx
add edx, ebp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x74]
add eax, dword [esp + 0x50]
adc edx, dword [esp + 0x54]
cmp edx, dword [esp + 0x44]
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
jle 0x6e8cc0
mov eax, dword [esp + 0x20]
mov edi, ebx
mov esi, ecx
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x64]
mov edx, eax
sar edx, 0x1f
shld ebx, ecx, 1
add ecx, ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x34]
imul eax, dword [esp + 0x30]
imul ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x78]
add ecx, eax
mov eax, dword [esp + 0x30]
mul dword [esp + 0x20]
add edx, ecx
test edi, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jne 0x6e8db5
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6e8bda
mov ecx, ebp
mov eax, dword [esp + 0x40]
sar ecx, 0x1f
mov edx, dword [esp + 0x44]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x70], ebp
sub eax, dword [esp + 0x70]
sbb edx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 8], edx
call fcn.0082a3e0
cmp dword [esp + 0x38], edx
jae 0x6e8df6
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
imul edx, dword [esp + 0x28]
imul eax, esi
lea ecx, [edx + eax]
mov eax, dword [esp + 0x28]
mul esi
add edx, ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x50]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x2c]
adc edx, dword [esp + 0x54]
imul ecx, eax
imul edx, dword [esp + 0x3c]
add ecx, edx
mul dword [esp + 0x3c]
add edx, ecx
cmp edx, dword [esp + 0x34]
jb 0x6e8d3a
jbe 0x6e8d30
mov eax, dword [esp + 0x58]
imul eax, esi
imul esi, dword [esp + 0x48]
lea edi, [eax + ebx]
xor eax, eax
add esi, ebp
mov dword [esp + 0x20], esi
jmp 0x6e8c79
mov ebx, dword [esp + 0x40]
cmp dword [esp + 0x30], ebx
ja 0x6e8938
mov esi, dword [esp + 0x44]
cmp dword [esp + 0x24], esi
jge 0x6e8ca6
mov edx, dword [esp + 0x30]
mov eax, 1
mov edi, dword [esp + 0x20]
mov dword [esp + 0x20], edx
mov edx, edi
mov ecx, dword [esp + 0x20]
neg edx
cmp byte [esp + 0x7f], 0
cmovne edi, edx
mov edx, dword [esp + 0xa0]
mov dword [edx], edi
mov edx, dword [esp + 0xa4]
mov dword [edx], ecx
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
jg 0x6e8938
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x20], eax
ja 0x6e8938
jmp 0x6e8c68
jl 0x6e8ccc
cmp eax, dword [esp + 0x40]
ja 0x6e8b2e
mov esi, dword [esp + 0x44]
cmp dword [esp + 0x2c], esi
jg 0x6e8b2e
jl 0x6e8cea
mov esi, dword [esp + 0x40]
cmp dword [esp + 0x28], esi
ja 0x6e8b2e
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x70]
mov edx, edi
or edx, esi
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], eax
jne 0x6e8a20
mov edi, ebx
mov eax, 1
jmp 0x6e8c79
cmp eax, dword [esp + 0x30]
ja 0x6e8c31
xor eax, eax
jmp 0x6e8c79
mov dword [esp + 0x30], 0
xor ebx, ebx
mov ebp, 1
mov dword [esp + 0x34], 0
mov edi, 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov edx, ebx
mov eax, dword [esp + 0x40]
sar edx, 0x1f
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x70], ebx
sub eax, dword [esp + 0x70]
sbb edx, dword [esp + 0x74]
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], edx
mov edx, edi
sar edx, 0x1f
mov dword [esp + 0xc], edx
call fcn.0082a3e0
mov esi, eax
mov dword [esp + 0x38], edx
jmp 0x6e8b8f
ja 0x6e8e00
cmp esi, eax
jbe 0x6e8bda
mov esi, eax
mov dword [esp + 0x38], edx
jmp 0x6e8bda
mov eax, 1
mov edi, 1
mov dword [esp + 0x20], 0
jmp 0x6e8c79