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

Disassembly:
sub esp, 0x84
mov eax, dword [esp + 0x9c]
push ebx
push ebp
push esi
mov ebx, dword [eax + 8]
mov esi, dword [eax + 0xc]
inc ebx
and ebx, 0xfffffffe
mov dword [esp + 0x80], 0xffffffff
mov eax, ebx
mov dword [esp + 0x50], ebx
sar eax, 1
inc esi
mov dword [esp + 0x18], eax
and esi, 0xfffffffe
lea eax, [ebx + ebx*2]
mov dword [esp + 0x58], esi
add eax, eax
mov dword [esp + 0x84], 0xffffffff
push edi
mov dword [esp + 0x28], eax
cdq
push 2
push edx
push eax
call fcn.101bac00
mov ebp, eax
mov eax, esi
imul eax, ebx
push 2
mov dword [esp + 0x68], ebp
cdq
mov esi, edx
mov edi, eax
push esi
push edi
call fcn.101bac00
push 2
push esi
push edi
mov dword [esp + 0x50], eax
call fcn.101bac00
mov dword [esp + 0x60], eax
lea eax, [ebx + ebx]
mov dword [esp + 0x90], eax
cdq
push 2
push edx
push eax
call fcn.101bac00
mov ecx, dword [esp + 0x8c]
sar ecx, 1
imul ecx, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
push 2
lea eax, [ecx + ecx*2]
cdq
mov esi, edx
mov edi, eax
push esi
push edi
call fcn.101bac00
push 2
push esi
push edi
mov dword [esp + 0x80], eax
call fcn.101bac00
mov esi, eax
add esp, 0x48
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x60], esi
push 2
lea eax, [eax + eax*2]
cdq
push edx
push eax
call fcn.101bac00
mov dword [esp + 0x70], eax
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
movd xmm0, dword [esp + 0x5c]
movd xmm1, ebx
cvtdq2pd xmm1, xmm1
mov dword [esp + 0x48], esi
cvtdq2pd xmm0, xmm0
mulsd xmm1, qword [0x103efaf0]
mulsd xmm1, xmm0
xorps xmm0, xmm0
movlpd qword [esp + 0x7c], xmm0
movsd xmm0, qword [0x102ec440]
comisd xmm1, xmm0
jb 0x101b62eb
subsd xmm1, xmm0
comisd xmm0, xmm1
jbe 0x101b62eb
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
add esi, 0
adc edi, 0x80000000
jmp 0x101b62f6
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
movaps xmm0, xmm1
call fcn.1026ad30
add eax, esi
mov dword [esp + 0x7c], eax
adc edx, edi
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x90], edx
je 0x101b6999
mov esi, dword [esp + 0x38]
test esi, esi
je 0x101b6999
cmp dword [esp + 0x3c], 0
je 0x101b6999
cmp dword [esp + 0x60], 0
je 0x101b6999
cmp dword [esp + 0x40], 0
je 0x101b6999
cmp dword [esp + 0x64], 0
je 0x101b6999
test ebp, ebp
je 0x101b6999
call fcn.101bf400
mov edx, dword [esp + 0xac]
mov edi, dword [esp + 0x28]
add edi, ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], edi
mov eax, dword [edx + 0xc]
mov dword [esp + 0x10], eax
test eax, eax
jle 0x101b6680
mov eax, dword [esp + 0x1c]
sub esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x74], esi
lea eax, [eax + eax*2]
mov esi, dword [esp + 0x9c]
add eax, eax
sub ecx, esi
mov dword [esp + 0x44], eax
lea eax, [ebx*4]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xa8]
add eax, eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x78], eax
mov eax, ebx
neg eax
shl eax, 2
mov dword [esp + 0x4c], eax
mov eax, ebp
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xa0]
sub eax, esi
mov dword [esp + 0xa0], eax
nop word [eax + eax]
push ebp
push dword [edx + 8]
add eax, esi
add ecx, esi
push dword [esp + 0xac]
push eax
push esi
push ecx
call fcn.101b3ef0
mov eax, dword [esp + 0x28]
add esp, 0x18
dec eax
cmp dword [esp + 0x24], eax
je 0x101b6464
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
push edi
push dword [eax + 8]
mov eax, dword [esp + 0xa8]
push dword [esp + 0xac]
add eax, esi
add eax, ecx
push eax
lea eax, [esi + ecx]
push eax
mov eax, dword [esp + 0xac]
add eax, esi
add eax, ecx
push eax
call fcn.101b3ef0
add esp, 0x18
jmp 0x101b6472
push dword [esp + 0x28]
push ebp
push edi
call fcn.1026c360
add esp, 0xc
mov esi, dword [esp + 0x68]
add esi, dword [esp + 0x14]
push ebx
push esi
push ebp
call fcn.101b6a00
lea eax, [ebx + ebx]
push ebx
add eax, esi
push eax
push edi
call fcn.101b6a00
add esp, 0x18
test ebx, ebx
jle 0x101b65fd
lea edi, [ebx + ebx]
mov dword [esp + 0x10], ebx
lea edx, [ebx*4]
add edi, ebp
mov ebx, dword [esp + 0x14]
add edx, ebp
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x20]
lea edi, [edi + 2]
lea ebx, [ebx + 2]
movzx eax, word [eax + ebx - 2]
imul ecx, dword [eax*4 + 0x10593780], 0x366d
movzx eax, word [edx]
imul eax, dword [eax*4 + 0x10593780], 0x127c
add ecx, eax
movzx eax, word [edi - 2]
add ecx, 0x8000
imul esi, dword [eax*4 + 0x10593780], 0xb717
add esi, ecx
sar esi, 0x10
shl esi, 5
mov ecx, esi
shr ecx, 0xe
lea eax, [ecx*4]
shl ecx, 0xe
mov edx, dword [eax + 0x105936f8]
sub esi, ecx
mov eax, dword [eax + 0x105936fc]
sub eax, edx
imul esi, eax
shr esi, 0xe
add esi, edx
mov edx, dword [esp + 0x18]
add edx, 2
mov word [ebx - 2], si
sub dword [esp + 0x10], 1
mov dword [esp + 0x18], edx
jne 0x101b64b4
mov edi, dword [esp + 0x34]
xor ebp, ebp
mov edx, dword [esp + 0x6c]
mov eax, edi
mov esi, dword [esp + 0x70]
add edx, dword [esp + 0x14]
add esi, edi
sub eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], eax
nop word [eax + eax]
movzx eax, word [edi + ebp*2]
inc ebp
imul ecx, dword [eax*4 + 0x10593780], 0x366d
mov eax, dword [esp + 0x30]
movzx eax, word [eax + edx]
imul eax, dword [eax*4 + 0x10593780], 0xb717
add ecx, eax
movzx eax, word [esi]
add ecx, 0x8000
imul esi, dword [eax*4 + 0x10593780], 0x127c
add esi, ecx
sar esi, 0x10
shl esi, 5
mov ecx, esi
shr ecx, 0xe
lea eax, [ecx*4]
shl ecx, 0xe
mov edx, dword [eax + 0x105936f8]
sub esi, ecx
mov eax, dword [eax + 0x105936fc]
sub eax, edx
imul esi, eax
shr esi, 0xe
add esi, edx
mov edx, dword [esp + 0x18]
mov word [edx], si
add edx, 2
mov esi, dword [esp + 0x10]
add esi, 2
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], esi
cmp ebp, ebx
jl 0x101b6570
mov ebp, dword [esp + 0x58]
push dword [esp + 0x1c]
mov esi, dword [esp + 0x4c]
push esi
push edi
push ebp
call fcn.101b6a80
push dword [esp + 0x54]
mov eax, dword [esp + 0x88]
add eax, esi
push esi
push eax
call fcn.1026c360
add esi, dword [esp + 0x60]
lea eax, [ebx*4]
add dword [esp + 0x30], eax
add esp, 0x1c
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
add ecx, 2
add dword [esp + 0x20], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x9c]
add esi, dword [esp + 0x78]
cmp ecx, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x9c], esi
jl 0x101b6400
mov dword [esp + 0x68], 0
nop dword [eax + eax]
mov eax, dword [esp + 0x38]
xor edx, edx
mov ecx, dword [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x48], eax
xorps xmm0, xmm0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], esi
movlpd qword [esp + 0x4c], xmm0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], edx
test eax, eax
jle 0x101b692e
add eax, 0xfffffffe
mov dword [esp + 0x78], eax
lea eax, [ebx*4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
lea eax, [eax + eax*2]
add eax, eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x60]
sub eax, esi
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
sub eax, ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
nop dword [eax + eax]
mov ebp, dword [esp + 0x1c]
push edi
lea eax, [ebp*2]
add eax, ebp
xor ebp, ebp
cmp edx, dword [esp + 0x7c]
cmovge eax, ebp
mov ebp, dword [esp + 0x5c]
push ebp
push ebx
lea esi, [esi + eax*2]
push esi
push dword [esp + 0x24]
push dword [esp + 0x5c]
push ecx
call fcn.101b5fb0
mov eax, dword [esp + 0x30]
add esp, 0x1c
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], esi
test ebx, ebx
jle 0x101b6898
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x58]
add ebx, ebp
mov edi, dword [esp + 0x40]
add ebp, dword [esp + 0x10]
sub ecx, edi
mov eax, dword [esp + 0x54]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], eax
movzx eax, word [ecx + edi]
lea ebp, [ebp + 2]
lea ebx, [ebx + 2]
lea edi, [edi + 2]
imul ecx, dword [eax*4 + 0x10593780], 0x366d
movzx eax, word [ebx - 2]
imul eax, dword [eax*4 + 0x10593780], 0xb717
add ecx, eax
movzx eax, word [ebp - 2]
add ecx, 0x8000
imul esi, dword [eax*4 + 0x10593780], 0x127c
add esi, ecx
sar esi, 0x10
shl esi, 5
mov ecx, esi
shr ecx, 0xe
lea eax, [ecx*4]
shl ecx, 0xe
mov edx, dword [eax + 0x105936f8]
sub esi, ecx
mov eax, dword [eax + 0x105936fc]
mov ecx, dword [esp + 0x4c]
sub eax, edx
imul esi, eax
shr esi, 0xe
add esi, edx
sub dword [esp + 0x44], 1
mov word [edi - 2], si
jne 0x101b6776
mov eax, dword [esp + 0x34]
xor edi, edi
mov ebx, dword [esp + 0x6c]
mov edx, eax
mov ebp, dword [esp + 0x10]
add ebx, dword [esp + 0x40]
add ebp, eax
sub edx, dword [esp + 0x40]
mov dword [esp + 0x4c], edx
movzx eax, word [eax + edi*2]
lea ebp, [ebp + 2]
inc edi
lea ebx, [ebx + 2]
imul ecx, dword [eax*4 + 0x10593780], 0x366d
movzx eax, word [edx + ebx - 2]
imul eax, dword [eax*4 + 0x10593780], 0xb717
add ecx, eax
movzx eax, word [ebp - 2]
add ecx, 0x8000
imul esi, dword [eax*4 + 0x10593780], 0x127c
add esi, ecx
sar esi, 0x10
shl esi, 5
mov ecx, esi
shr ecx, 0xe
lea eax, [ecx*4]
shl ecx, 0xe
mov edx, dword [eax + 0x105936f8]
sub esi, ecx
mov eax, dword [eax + 0x105936fc]
sub eax, edx
imul esi, eax
mov eax, dword [esp + 0x34]
shr esi, 0xe
add esi, edx
mov edx, dword [esp + 0x4c]
mov word [ebx - 2], si
cmp edi, dword [esp + 0x54]
jl 0x101b6810
mov ebx, dword [esp + 0x54]
mov edi, eax
mov ebp, dword [esp + 0x58]
push dword [esp + 0x1c]
push dword [esp + 0x68]
push edi
push ebp
call fcn.101b6a80
mov esi, dword [esp + 0x34]
lea eax, [ebx + ebx]
push eax
mov eax, dword [esp + 0x88]
push esi
push dword [esp + 0x58]
add eax, esi
push eax
call dword [0x10595cd4]
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x40], eax
adc dword [esp + 0x38], edx
lea eax, [ecx + ecx*2]
push eax
mov eax, dword [esp + 0x4c]
push eax
push dword [esp + 0x8c]
add eax, dword [esp + 0x9c]
push eax
call dword [0x10595cd0]
mov edx, dword [esp + 0x60]
lea eax, [ebx*4]
add esi, eax
add edx, 2
mov eax, dword [esp + 0xbc]
add esp, 0x30
add dword [esp + 0x28], eax
mov ecx, esi
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x30], edx
cmp edx, dword [esp + 0x5c]
jl 0x101b6710
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
jmp 0x101b6936
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x68]
test edx, edx
jle 0x101b6963
cmp ecx, dword [esp + 0x90]
jb 0x101b697f
ja 0x101b694f
cmp eax, dword [esp + 0x7c]
jb 0x101b697f
cmp ecx, dword [esp + 0x88]
ja 0x101b697f
jb 0x101b6963
cmp eax, dword [esp + 0x84]
ja 0x101b697f
inc edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x68], edx
cmp edx, 4
jl 0x101b6690
mov eax, dword [esp + 0xac]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x34]
call fcn.101b3ae0
add esp, 0xc
jmp 0x101b69ab
mov eax, dword [esp + 0xac]
push 1
push eax
call fcn.101ba430
add esp, 8
mov esi, eax
push dword [esp + 0x2c]
call fcn.101bacc0
push dword [esp + 0x3c]
call fcn.101bacc0
push dword [esp + 0x44]
call fcn.101bacc0
push dword [esp + 0x6c]
call fcn.101bacc0
push dword [esp + 0x50]
call fcn.101bacc0
push dword [esp + 0x78]
call fcn.101bacc0
push ebp
call fcn.101bacc0
add esp, 0x1c
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret