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

Disassembly:
jmp 0x10295c80
sub esp, 0x7c
push ebx
mov ebx, dword [esp + 0x84]
test ebx, ebx
jne 0x10295c97
lea eax, [ebx + 0x14]
pop ebx
add esp, 0x7c
ret
mov eax, dword [esp + 0x88]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x8c]
cdq
sar ecx, 1
sub eax, edx
sar eax, 1
mov dword [esp + 0x38], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x8c], eax
test ecx, ecx
jne 0x10295cd3
test eax, eax
je 0x102960ab
push ebx
call fcn.10101cde
add esp, 4
mov dword [esp + 0x54], eax
cmp eax, 2
jne 0x10295cf7
xor eax, eax
mov ecx, 6
cmp word [ebx], ax
pop ebx
cmovne eax, ecx
add esp, 0x7c
ret
mov eax, dword [ebx + 4]
xor ecx, ecx
mov dword [esp + 0x3c], eax
xor eax, eax
push edi
xor edi, edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 8], edi
cmp ax, word [ebx]
jge 0x102960aa
push ebp
push esi
mov eax, dword [ebx + 0xc]
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x30], 0
xor edx, edx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x2c], ebp
movsx ecx, word [eax + ecx*2]
or eax, 0xffffffff
mov esi, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x20], eax
cmp dword [esp + 0x10], ecx
je 0x10296086
cmp esi, eax
je 0x10296082
cmp edi, eax
je 0x10295db1
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + edi*8]
sub eax, dword [ecx + esi*8]
mov dword [esp + 0x7c], eax
mov eax, dword [ecx + edi*8 + 4]
sub eax, dword [ecx + esi*8 + 4]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x7c]
push eax
call fcn.10104c45
mov edx, dword [esp + 0x88]
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10296062
mov eax, dword [esp + 0x20]
jmp 0x10295dcc
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x1029603f
test eax, eax
jns 0x10295de8
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebp
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 edi, dword [esp + 0x58]
mov eax, dword [esp + 0x88]
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 + 0x5c], eax
mov eax, dword [esp + 0x5c]
add eax, edi
cmp eax, 0xffff1000
jle 0x10296004
mov ebp, dword [esp + 0x80]
add eax, 0x10000
mov edi, dword [esp + 0x60]
add ebp, ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
test edi, edi
jne 0x10295e83
neg ebp
jmp 0x10295e89
neg eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x88]
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
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x80]
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 + 0x68], eax
sub ebx, dword [esp + 0x68]
mov dword [esp + 0x14], ebx
test edi, edi
jne 0x10295ef4
neg ebx
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x1c]
mov eax, edx
cmp dword [esp + 0x40], edx
cmovl eax, dword [esp + 0x40]
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x14]
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
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x34]
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 + 0x70], eax
cmp edi, dword [esp + 0x70]
jg 0x10295f6e
push dword [esp + 0x3c]
push dword [esp + 0x48]
jmp 0x10295f73
push ebx
push dword [esp + 0x44]
push ebp
call fcn.1010577b
mov ebp, eax
add esp, 0xc
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x14]
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
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x34]
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 + 0x78], eax
cmp edi, dword [esp + 0x78]
jg 0x10295fef
push dword [esp + 0x3c]
push dword [esp + 0x50]
push dword [esp + 0x20]
call fcn.1010577b
add esp, 0xc
mov edx, eax
jmp 0x10296008
push ebx
push dword [esp + 0x44]
push dword [esp + 0x20]
call fcn.1010577b
add esp, 0xc
mov edx, eax
jmp 0x10296008
xor edx, edx
xor ebp, ebp
mov edi, dword [esp + 0x50]
cmp esi, edi
je 0x10296041
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
add eax, ebp
add dword [ecx + esi*8], eax
mov eax, dword [esp + 0x4c]
add eax, edx
add dword [ecx + esi*8 + 4], eax
cmp esi, ebx
mov eax, dword [esp + 0x10]
lea ecx, [esi + 1]
cmovl eax, ecx
mov esi, eax
cmp esi, edi
jne 0x10296014
jmp 0x10296041
mov esi, edi
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x40], ebp
cmp edi, dword [esp + 0x24]
lea ecx, [edi + 1]
mov eax, dword [esp + 0x10]
cmovl eax, ecx
mov edi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], edi
cmp edi, esi
jne 0x10295d62
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x90]
lea edi, [ecx + 1]
mov ecx, dword [esp + 0x54]
inc ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x54], ecx
movsx eax, word [ebx]
cmp ecx, eax
jl 0x10295d18
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x7c
ret