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

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x44]
push ebp
mov eax, dword [eax]
push esi
mov ebx, dword [ebx]
mov dword [esp + 0x24], eax
push edi
mov edi, ecx
mov dword [esp + 0x20], edi
cmp ebx, 1
jb 0x10041aae
mov ecx, dword [edi + 0x2c]
dec ebx
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x14], ecx
mov cl, byte [eax]
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x20]
mov byte [esp + 0x13], cl
mov dword [esp + 0x2c], ebx
cmp eax, 5
jl 0x10041204
movzx ebp, cl
and ebp, 4
jmp 0x10041206
xor ebp, ebp
xor edx, edx
movzx esi, cl
cmp eax, 5
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x60]
mov ecx, esi
setl dl
shr ecx, 2
add edx, 0xe
sar eax, 3
and ecx, edx
and eax, edx
cmp ecx, eax
jne 0x10041aae
test ebp, ebp
mov ebp, dword [esp + 0x68]
je 0x10041240
test ebp, ebp
je 0x10041aae
mov al, byte [esp + 0x13]
and al, 3
shr esi, 6
mov byte [esp + 0x13], al
cmp al, 2
jne 0x10041365
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
cmp edx, edi
jge 0x10041a8e
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
imul eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x64]
imul esi, edx
shl eax, 2
mov dword [esp + 0x58], eax
add esi, dword [esp + 0x60]
mov eax, dword [esp + 0x54]
mov ecx, esi
imul ecx, dword [esp + 0x14]
mov dword [esp + 0x68], esi
add ecx, ebp
mov ebp, dword [esp + 0x18]
sub edi, edx
mov dword [esp + 0x5c], edi
mov edx, edi
mov edi, dword [esp + 0x60]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x54], eax
cmp edi, ebx
jge 0x10041343
mov ecx, dword [esp + 0x14]
sub ebx, edi
cmp dword [esp + 0x1c], 0
mov edi, eax
lea ebp, [ecx*4]
je 0x10041300
nop
mov eax, dword [esp + 0x20]
mov ecx, esi
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, esi
sar ecx, 3
mov eax, dword [eax + 0x14]
test byte [ecx + eax], dl
jbe 0x100412f2
mov eax, dword [edi - 4]
mov dword [edi], eax
inc esi
add edi, ebp
sub ebx, 1
jne 0x100412d0
jmp 0x1004132b
mov eax, dword [esp + 0x20]
mov ecx, esi
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, esi
sar ecx, 3
mov eax, dword [eax + 0x14]
test byte [ecx + eax], dl
jbe 0x10041323
mov dword [edi], 0
inc esi
add edi, ebp
sub ebx, 1
jne 0x10041300
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x68]
add eax, ecx
add esi, ebp
mov dword [esp + 0x54], eax
sub edx, 1
mov dword [esp + 0x68], esi
mov dword [esp + 0x5c], edx
jne 0x100412b0
jmp 0x10041a8e
test al, al
jne 0x10041494
cmp dword [esp + 0x1c], 0
jne 0x10041aae
mov edi, dword [esp + 0x58]
xor edx, edx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x34], edi
cmp edi, dword [esp + 0x5c]
jge 0x10041484
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
imul eax, edi
add ebx, eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
mov ecx, ebx
imul eax, dword [esp + 0x18]
imul ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ebx
shl eax, 2
add ecx, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x54]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x60]
mov esi, ebx
cmp edx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
jge 0x1004145d
mov edi, ebx
mov ebx, ecx
sub edi, eax
nop dword [eax]
mov eax, dword [esp + 0x20]
mov ecx, esi
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, esi
sar ecx, 3
mov eax, dword [eax + 0x14]
test byte [ecx + eax], dl
jbe 0x10041434
mov ecx, dword [esp + 0x2c]
cmp ecx, 4
jb 0x10041aae
mov eax, dword [ebp]
sub ecx, 4
mov edx, dword [esp + 0x6c]
add ebp, 4
inc edx
mov dword [ebx], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x6c], edx
jmp 0x10041438
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x14]
inc edi
inc esi
lea eax, [ecx*4]
add ebx, eax
cmp edi, dword [esp + 0x64]
jl 0x100413f0
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
add eax, dword [esp + 0x18]
inc edi
add ebx, dword [esp + 0x18]
add ecx, dword [esp + 0x24]
mov dword [esp + 0x34], edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x54], ecx
cmp edi, dword [esp + 0x5c]
jl 0x100413d3
mov eax, dword [esp + 0x28]
lea eax, [eax + edx*4]
mov dword [esp + 0x28], eax
jmp 0x10041a8e
cmp dword [esp + 0x1c], 0
je 0x100414a6
cmp dword [edi + 0x48], 6
mov eax, 4
jl 0x100414a9
mov eax, dword [edi + 0x48]
push esi
push eax
call fcn.10062a40
mov esi, eax
add esp, 8
cmp esi, 8
je 0x10041aae
push esi
call fcn.100629f0
add esp, 4
mov dword [esp + 0x34], eax
cmp ebx, eax
jb 0x10041aae
lea eax, [esp + 0x28]
push esi
push eax
call fcn.10063550
sub ebx, dword [esp + 0x3c]
add esp, 8
mov edx, dword [edi + 0x20]
mov dword [esp + 0x2c], ebx
fstp qword [esp + 0x40]
cmp edx, 4
jl 0x10041509
cmp dword [esp + 0x14], 1
jle 0x10041509
mov eax, dword [edi + 0xb4]
movsd xmm0, qword [eax + ebp*8]
jmp 0x1004150e
movsd xmm0, qword [edi + 0x60]
cmp byte [esp + 0x13], 3
movsd qword [esp + 0x38], xmm0
jne 0x10041658
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
cmp edx, edi
jge 0x10041a8e
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
imul eax, dword [esp + 0x18]
movsd xmm2, qword [esp + 0x40]
imul esi, edx
shl eax, 2
mov dword [esp + 0x58], eax
add esi, dword [esp + 0x60]
mov eax, dword [esp + 0x54]
mov ecx, esi
imul ecx, dword [esp + 0x14]
mov dword [esp + 0x68], esi
add ecx, ebp
sub edi, edx
mov dword [esp + 0x5c], edi
mov edx, edi
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x54], ecx
cmp dword [esp + 0x1c], 0
mov ebx, dword [esp + 0x64]
jne 0x100415c7
cvttsd2si ebp, xmm2
cmp dword [esp + 0x60], ebx
jge 0x1004162e
sub ebx, dword [esp + 0x60]
mov edi, ecx
mov eax, dword [esp + 0x20]
mov ecx, esi
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, esi
sar ecx, 3
mov eax, dword [eax + 0x14]
test byte [ecx + eax], dl
jbe 0x100415b2
mov dword [edi], ebp
mov ecx, dword [esp + 0x14]
inc esi
lea eax, [ecx*4]
add edi, eax
sub ebx, 1
jne 0x10041593
jmp 0x10041622
cmp dword [esp + 0x60], ebx
jge 0x1004162e
mov eax, dword [esp + 0x14]
mov edi, ecx
sub ebx, dword [esp + 0x60]
lea ebp, [eax*4]
nop
mov eax, dword [esp + 0x20]
mov ecx, esi
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, esi
sar ecx, 3
mov eax, dword [eax + 0x14]
test byte [ecx + eax], dl
jbe 0x10041614
movd xmm1, dword [edi - 4]
cvtdq2pd xmm1, xmm1
addsd xmm1, xmm2
minsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [edi], eax
movsd xmm0, qword [esp + 0x38]
inc esi
add edi, ebp
sub ebx, 1
jne 0x100415e0
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x68]
add ecx, eax
add esi, dword [esp + 0x18]
sub edx, 1
movsd xmm0, qword [esp + 0x38]
mov dword [esp + 0x68], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], edx
jne 0x10041574
jmp 0x10041a8e
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x6c]
sub ecx, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x60]
mov ebx, eax
mov dword [esp + 0x30], eax
imul ebx, ecx
lea eax, [esp + 0x2c]
push edx
mov dword [esp + 0x28], ecx
lea ecx, [edi + 0x78]
push ebx
push esi
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10066970
test al, al
je 0x10041aae
movsd xmm3, qword [edi + 0x50]
mov eax, dword [esi + 4]
addsd xmm3, xmm3
mov edi, dword [esi]
sub eax, edi
sar eax, 2
cmp eax, ebx
jne 0x100417cc
mov ecx, dword [esp + 0x58]
cmp ecx, dword [esp + 0x5c]
jge 0x10041a8e
mov esi, dword [esp + 0x14]
mov eax, esi
mov edx, dword [esp + 0x18]
movsd xmm2, qword [esp + 0x40]
movsd xmm4, qword [esp + 0x38]
imul eax, edx
imul edx, ecx
mov ecx, dword [esp + 0x60]
shl eax, 2
add edx, ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x54]
imul edx, esi
add edx, ebp
mov ebp, dword [esp + 0x5c]
lea ebx, [eax + edx*4]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x10041757
cmp ecx, dword [esp + 0x64]
jge 0x100417b8
mov edx, dword [esp + 0x30]
mov ecx, ebx
shl esi, 2
nop dword [eax]
mov eax, dword [edi]
movaps xmm0, xmm4
add edi, 4
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x1008f6c0]
mulsd xmm1, xmm3
addsd xmm1, xmm2
minsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [ecx], eax
add ecx, esi
sub edx, 1
jne 0x10041720
jmp 0x100417a8
cmp ecx, dword [esp + 0x64]
jge 0x100417b8
mov edx, dword [esp + 0x30]
mov ecx, ebx
shl esi, 2
mov eax, dword [edi]
add edi, 4
movd xmm0, dword [ecx - 4]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x1008f6c0]
mulsd xmm1, xmm3
addsd xmm1, xmm2
addsd xmm1, xmm0
movaps xmm0, xmm4
minsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [ecx], eax
add ecx, esi
sub edx, 1
jne 0x10041766
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x24]
add ebx, ebp
sub eax, 1
mov dword [esp + 0x24], eax
jne 0x10041706
jmp 0x10041a8e
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x20], 2
jle 0x10041961
mov ecx, dword [esp + 0x58]
cmp ecx, dword [esp + 0x5c]
jge 0x10041a8e
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
imul eax, dword [esp + 0x18]
movsd xmm2, qword [esp + 0x40]
movsd xmm4, qword [esp + 0x38]
imul esi, ecx
shl eax, 2
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
add esi, ebx
mov ecx, esi
mov dword [esp + 0x68], esi
imul ecx, dword [esp + 0x14]
add ecx, ebp
mov ebp, dword [esp + 0x18]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x58], ecx
cmp dword [esp + 0x1c], 0
jne 0x100418b0
cmp ebx, dword [esp + 0x64]
jge 0x1004193f
mov ebp, dword [esp + 0x30]
mov ebx, ecx
nop dword [eax]
mov eax, dword [esp + 0x20]
mov ecx, esi
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, esi
sar ecx, 3
mov eax, dword [eax + 0x14]
test byte [ecx + eax], dl
jbe 0x1004189b
mov eax, dword [edi]
movaps xmm0, xmm4
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
add edi, 4
addsd xmm1, qword [eax*8 + 0x1008f6c0]
mulsd xmm1, xmm3
addsd xmm1, xmm2
minsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [ebx], eax
mov ecx, dword [esp + 0x14]
inc esi
lea eax, [ecx*4]
add ebx, eax
sub ebp, 1
jne 0x10041850
jmp 0x1004192b
cmp ebx, dword [esp + 0x64]
jge 0x1004193f
mov ebp, dword [esp + 0x30]
mov ebx, ecx
mov eax, dword [esp + 0x20]
mov ecx, esi
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, esi
sar ecx, 3
mov eax, dword [eax + 0x14]
test byte [ecx + eax], dl
jbe 0x10041918
mov eax, dword [edi]
movd xmm0, dword [ebx - 4]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
add edi, 4
addsd xmm1, qword [eax*8 + 0x1008f6c0]
mulsd xmm1, xmm3
addsd xmm1, xmm2
addsd xmm1, xmm0
movaps xmm0, xmm4
minsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [ebx], eax
mov ecx, dword [esp + 0x14]
inc esi
lea eax, [ecx*4]
add ebx, eax
sub ebp, 1
jne 0x100418c0
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x68]
add ecx, edx
add esi, ebp
mov dword [esp + 0x58], ecx
sub eax, 1
mov dword [esp + 0x68], esi
mov dword [esp + 0x24], eax
jne 0x10041835
jmp 0x10041a8e
mov edx, dword [esp + 0x58]
xor ebp, ebp
cmp edx, dword [esp + 0x5c]
jge 0x10041a8e
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
imul eax, dword [esp + 0x18]
movsd xmm2, qword [esp + 0x40]
movsd xmm4, qword [esp + 0x38]
imul edi, edx
shl eax, 2
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x54]
add ebx, edi
mov dword [esp + 0x58], edi
mov ecx, ebx
mov dword [esp + 0x24], ebx
imul ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x68]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x54], ecx
nop dword [eax]
mov edx, dword [esp + 0x60]
mov esi, ebx
cmp edx, dword [esp + 0x64]
mov edx, dword [esp + 0x34]
jge 0x10041a69
mov edi, ebx
mov ebx, ecx
sub edi, dword [esp + 0x58]
nop dword [eax]
mov eax, dword [esp + 0x20]
mov ecx, esi
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, esi
sar ecx, 3
mov eax, dword [eax + 0x14]
test byte [ecx + eax], dl
jbe 0x10041a40
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 4]
mov ecx, dword [edx]
sub eax, ecx
sar eax, 2
cmp ebp, eax
je 0x10041aae
mov eax, dword [ecx + ebp*4]
movaps xmm0, xmm4
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
inc ebp
addsd xmm1, qword [eax*8 + 0x1008f6c0]
mulsd xmm1, xmm3
addsd xmm1, xmm2
minsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [ebx], eax
mov ecx, dword [esp + 0x14]
inc edi
inc esi
lea eax, [ecx*4]
add ebx, eax
cmp edi, dword [esp + 0x64]
jl 0x100419e0
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x30]
add edi, dword [esp + 0x18]
inc edx
add ebx, dword [esp + 0x18]
add ecx, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x54], ecx
cmp edx, dword [esp + 0x5c]
jl 0x100419c0
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
pop edi
pop esi
mov dword [ecx], eax
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
pop ebp
pop ebx
mov dword [ecx], eax
mov al, 1
add esp, 0x38
ret 0x24
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x38
ret 0x24