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

Disassembly:
sub esp, 0x78
push ebx
mov ebx, dword [esp + 0x80]
test ebx, ebx
jne 0x100ee3c7
lea eax, [ebx + 0x14]
pop ebx
add esp, 0x78
ret
mov eax, dword [esp + 0x84]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x88]
cdq
sar ecx, 1
sub eax, edx
sar eax, 1
mov dword [esp + 0x38], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x88], eax
test ecx, ecx
jne 0x100ee403
test eax, eax
je 0x100ee7cd
push ebx
call fcn.100ee7e0
add esp, 4
mov dword [esp + 0x50], eax
cmp eax, 2
jne 0x100ee429
cmp word [ebx], 0
je 0x100ee7cd
mov eax, 6
pop ebx
add esp, 0x78
ret
mov eax, dword [ebx + 4]
xor ecx, ecx
mov dword [esp + 0x34], eax
xor eax, eax
push ebp
xor ebp, ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 0xc], ebp
cmp ax, word [ebx]
jge 0x100ee7cc
push esi
push edi
nop word [eax + eax]
mov eax, dword [ebx + 0xc]
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x34], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], edi
movsx edx, word [eax + ecx*2]
xor ecx, ecx
or eax, 0xffffffff
mov dword [esp + 0x4c], edx
mov esi, edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x28], eax
cmp dword [esp + 0x14], edx
je 0x100ee7a8
cmp esi, eax
je 0x100ee7a8
cmp ebp, eax
je 0x100ee4e4
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + ebp*8]
sub eax, dword [ecx + esi*8]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + ebp*8 + 4]
sub eax, dword [ecx + esi*8 + 4]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x78]
push eax
call fcn.100eb8b0
mov ecx, dword [esp + 0x84]
mov edx, eax
add esp, 4
mov dword [esp + 0x24], eax
test edx, edx
je 0x100ee78c
mov eax, dword [esp + 0x28]
jmp 0x100ee4fc
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x24], edx
test edi, edi
je 0x100ee76c
test eax, eax
jns 0x100ee518
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x54], eax
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
add eax, edi
cmp eax, 0xffff1000
jle 0x100ee731
mov ecx, dword [esp + 0x80]
add eax, 0x10000
add ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x7c]
add eax, ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], eax
test edi, edi
jne 0x100ee5b5
neg eax
mov dword [esp + 0x20], eax
jmp 0x100ee5bb
neg ecx
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x84]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x60], eax
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x64], eax
sub ebx, dword [esp + 0x64]
mov dword [esp + 0x18], ebx
test edi, edi
jne 0x100ee623
neg ebx
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x24]
mov eax, edx
cmp dword [esp + 0x10], edx
cmovl eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x18]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x68], eax
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x6c], eax
cmp edi, dword [esp + 0x6c]
jg 0x100ee699
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
jmp 0x100ee69f
mov eax, dword [esp + 0x10]
mov ecx, ebx
push ecx
push eax
push dword [esp + 0x28]
call fcn.100ea240
add esp, 0xc
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x18]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x70], eax
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x74], eax
cmp edi, dword [esp + 0x74]
jg 0x100ee710
mov eax, dword [esp + 0x48]
jmp 0x100ee718
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
push dword [esp + 0x1c]
push eax
push dword [esp + 0x44]
call fcn.100ea240
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x20]
jmp 0x100ee739
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x20], eax
cmp esi, ebp
je 0x100ee76e
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x40]
add eax, dword [esp + 0x44]
add dword [edi + esi*8], eax
mov eax, dword [esp + 0x48]
add eax, ecx
add dword [edi + esi*8 + 4], eax
cmp esi, edx
lea eax, [esi + 1]
cmovge eax, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x20]
cmp esi, ebp
jne 0x100ee745
jmp 0x100ee76e
mov esi, ebp
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x4c]
lea eax, [ebp + 1]
cmp ebp, edx
cmovge eax, dword [esp + 0x14]
mov ebp, eax
mov eax, dword [esp + 0x28]
cmp ebp, esi
jne 0x100ee496
mov ebx, dword [esp + 0x8c]
lea ebp, [edx + 1]
mov ecx, dword [esp + 0x50]
inc ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x50], ecx
movsx eax, word [ebx]
cmp ecx, eax
jl 0x100ee450
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x78
ret