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

Disassembly:
sub esp, 0x78
push ebx
mov ebx, dword [esp + 0x80]
test ebx, ebx
jne 0x100e6fa7
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 0x100e6fe3
test eax, eax
je 0x100e73ad
push ebx
call fcn.100e73c0
add esp, 4
mov dword [esp + 0x50], eax
cmp eax, 2
jne 0x100e7009
cmp word [ebx], 0
je 0x100e73ad
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 0x100e73ac
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 0x100e7388
cmp esi, eax
je 0x100e7388
cmp ebp, eax
je 0x100e70c4
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.100e4490
mov ecx, dword [esp + 0x84]
mov edx, eax
add esp, 4
mov dword [esp + 0x24], eax
test edx, edx
je 0x100e736c
mov eax, dword [esp + 0x28]
jmp 0x100e70dc
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 0x100e734c
test eax, eax
jns 0x100e70f8
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 0x100e7311
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 0x100e7195
neg eax
mov dword [esp + 0x20], eax
jmp 0x100e719b
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 0x100e7203
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 0x100e7279
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
jmp 0x100e727f
mov eax, dword [esp + 0x10]
mov ecx, ebx
push ecx
push eax
push dword [esp + 0x28]
call fcn.100e2e20
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 0x100e72f0
mov eax, dword [esp + 0x48]
jmp 0x100e72f8
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
push dword [esp + 0x1c]
push eax
push dword [esp + 0x44]
call fcn.100e2e20
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x20]
jmp 0x100e7319
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x20], eax
cmp esi, ebp
je 0x100e734e
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 0x100e7325
jmp 0x100e734e
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 0x100e7076
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 0x100e7030
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x78
ret