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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
mov ebx, ecx
mov dword [esp + 0x3c], ebx
push esi
push edi
test ebx, ebx
jne 0x102377c3
lea eax, [ecx + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + 8]
cdq
sar ecx, 1
sub eax, edx
sar eax, 1
mov dword [esp + 0x64], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x4c], eax
mov dword [ebp + 8], eax
test ecx, ecx
jne 0x102377f2
test eax, eax
je 0x10237cb3
mov ecx, ebx
call fcn.10237cc0
mov dword [esp + 0x5c], eax
cmp eax, 2
jne 0x10237816
xor eax, eax
mov ecx, 6
cmp word [ebx], ax
cmovne eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 4]
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x38], esi
xor eax, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x60], ecx
cmp ax, word [ebx]
jge 0x10237cb3
mov eax, dword [ebx + 0xc]
mov edx, dword [esi + edi*8 + 4]
mov dword [esp + 0x48], edx
movsx eax, word [eax + ecx*2]
mov ecx, dword [esi + edi*8]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esi + edi*8 + 4]
mov dword [esp + 0x94], ecx
mov ecx, dword [esi + edi*8]
mov ebx, ecx
sub ebx, dword [esi + eax*8]
mov esi, edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], ebx
sub esi, dword [ecx + eax*8 + 4]
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], esi
call fcn.10238fa0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x102378b7
mov edx, eax
mov ecx, ebx
call fcn.102342b0
mov edx, dword [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
call fcn.102342b0
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
cmp edi, eax
jg 0x10237c90
jge 0x102378d3
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + edi*8 + 8]
mov ecx, dword [ecx + edi*8 + 0xc]
jmp 0x102378e1
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x94]
mov esi, ecx
mov dword [esp + 0x50], ecx
sub esi, dword [esp + 0x48]
lea ecx, [esp + 0x2c]
mov ebx, eax
mov dword [esp + 0x6c], eax
sub ebx, dword [esp + 0x34]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
call fcn.10238fa0
mov ecx, eax
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x102379e7
mov edx, ecx
mov eax, 1
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
test ebx, ebx
jns 0x10237930
neg ebx
or eax, 0xffffffff
mov dword [esp + 0x10], eax
test ecx, ecx
jns 0x10237942
mov edx, ecx
neg edx
neg eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
test edx, edx
jle 0x10237975
mov eax, ebx
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0x20]
shld ecx, edi, 0x10
sar eax, 1
cdq
shl edi, 0x10
add edi, eax
mov eax, dword [esp + 0x20]
adc ecx, edx
cdq
push edx
push eax
push ecx
push edi
call fcn.1033e300
mov ecx, dword [esp + 0x40]
mov ebx, eax
jmp 0x1023797a
mov ebx, 0x7fffffff
cmp dword [esp + 0x10], 0
jge 0x10237983
neg ebx
mov dword [esp + 0x2c], ebx
mov eax, ecx
mov dword [esp + 0x10], eax
mov edi, 1
test esi, esi
jns 0x1023799b
neg esi
or edi, 0xffffffff
test ecx, ecx
jns 0x102379a9
mov eax, ecx
neg eax
neg edi
mov dword [esp + 0x10], eax
test eax, eax
jle 0x102379d8
mov eax, esi
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0x10]
shld ecx, esi, 0x10
sar eax, 1
cdq
shl esi, 0x10
add esi, eax
mov eax, dword [esp + 0x10]
adc ecx, edx
cdq
push edx
push eax
push ecx
push esi
call fcn.1033e300
mov esi, eax
jmp 0x102379dd
mov esi, 0x7fffffff
test edi, edi
jns 0x102379e3
neg esi
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
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 + 0x28]
mov edx, dword [esp + 0x30]
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 + 0x98], eax
mov eax, dword [esp + 0x98]
add eax, edi
cmp eax, 0xffff1000
jle 0x10237c24
mov ecx, dword [esp + 0x14]
add eax, 0x10000
mov dword [esp + 0x54], eax
add ecx, ebx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x18]
add eax, esi
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x10], eax
jne 0x10237a7e
neg eax
mov dword [esp + 0x10], eax
jmp 0x10237a84
neg ecx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
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 + 0x80], eax
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
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 + 0x90], eax
sub edi, dword [esp + 0x90]
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
jne 0x10237afd
neg edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x40]
mov ecx, eax
cmp dword [esp + 0x1c], eax
cmovl ecx, dword [esp + 0x1c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x20]
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
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x1c]
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 + 0x7c], eax
mov ecx, dword [esp + 0x10]
cmp edi, dword [esp + 0x7c]
jg 0x10237b7b
push dword [esp + 0x54]
mov edx, dword [esp + 0x68]
jmp 0x10237b83
push dword [esp + 0x18]
mov edx, dword [esp + 0x6c]
call fcn.10234200
mov dword [esp + 0x14], eax
add esp, 4
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x20]
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 + 0x84], eax
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x1c]
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 + 0x8c], eax
mov ecx, dword [esp + 0x14]
cmp edi, dword [esp + 0x8c]
jg 0x10237c0c
push dword [esp + 0x54]
mov edx, dword [esp + 0x50]
call fcn.10234200
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x10]
jmp 0x10237c28
push dword [esp + 0x18]
mov edx, dword [esp + 0x6c]
call fcn.10234200
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x10]
jmp 0x10237c28
xor edx, edx
xor eax, eax
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
add ecx, eax
mov eax, dword [esp + 0x44]
add ecx, dword [esp + 0x64]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], ebx
mov eax, dword [eax + 4]
mov dword [eax + edi*8], ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
add ecx, edx
add ecx, dword [esp + 0x4c]
mov eax, dword [eax + 4]
mov dword [eax + edi*8 + 4], ecx
mov eax, esi
mov dword [esp + 0x18], eax
inc edi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x3c], edi
cmp edi, eax
jle 0x102378c3
mov ebx, dword [esp + 0x44]
lea edi, [eax + 1]
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x3c], edi
movsx eax, word [ebx]
mov dword [esp + 0x60], ecx
cmp ecx, eax
jl 0x10237834
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret