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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x448
mov eax, dword [0x1036a00c]
xor eax, esp
mov dword [esp + 0x444], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
push 0xc0
mov dword [esp + 0x50], eax
lea eax, [esp + 0xec]
push 0
push eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edi
mov byte [esp + 0x29d], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x1c8]
xorps xmm0, xmm0
movups xmmword [esp + 0x1a8], xmm0
push 0xc0
push 0
push eax
movups xmmword [esp + 0x1c4], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov word [esp + 0x28f], 0x100
xor eax, eax
mov word [esp + 0x28c], ax
mov byte [esp + 0x28e], al
push 0xc0
push eax
mov dword [esp + 0x290], eax
mov byte [esp + 0x449], al
lea eax, [esp + 0x2a0]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x378]
xorps xmm0, xmm0
movups xmmword [esp + 0x358], xmm0
push 0xc0
push 0
push eax
movups xmmword [esp + 0x374], xmm0
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [esi]
xor eax, eax
mov word [esp + 0x44b], 0x100
mov word [esp + 0x448], ax
lea ecx, [esp + 0xf4]
mov byte [esp + 0x44a], al
add esp, 0xc
mov dword [esp + 0x438], eax
lea eax, [esi + 0x20]
movups xmmword [esp + 0xc8], xmm0
mov dword [esp + 0x64], eax
movups xmm0, xmmword [eax]
lea eax, [esp + 0xc8]
push eax
mov eax, dword [esp + 0x14]
movups xmmword [esp + 0xdc], xmm0
movups xmm0, xmmword [edi]
push dword [eax]
movups xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [edi + 0x30]
xor edi, edi
mov dword [esp + 0x50], edi
movups xmmword [esp + 0x80], xmm0
movsd xmm0, qword [0x10300438]
movsd qword [esp + 0x58], xmm0
call fcn.101d2850
test eax, eax
je 0x102a2d5c
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x29c]
push dword [eax]
call fcn.102795c0
test eax, eax
je 0x102a2d5c
movzx eax, byte [esp + 0x43e]
xor esi, esi
movsd xmm5, qword [0x10300438]
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], eax
test eax, eax
je 0x102a27e4
mov eax, dword [esp + 0x38]
lea edi, [esp + 0xe8]
movsd xmm6, qword [eax + 0xa8]
movsd xmm7, qword [eax + 0xb0]
comisd xmm7, xmm6
movsd xmm1, qword [esp + esi*8 + 0x378]
movsd xmm2, qword [0x103000c8]
jb 0x102a2381
movaps xmm0, xmm6
subsd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x102a23a2
subsd xmm1, xmm7
comisd xmm2, xmm1
jmp 0x102a2399
movaps xmm0, xmm1
subsd xmm0, xmm6
comisd xmm2, xmm0
jbe 0x102a23a2
movaps xmm0, xmm7
subsd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x102a23a2
mov eax, 1
jmp 0x102a23a4
xor eax, eax
test al, al
je 0x102a246a
movzx eax, byte [esp + 0x28e]
xor ecx, ecx
mov dword [esp + 0x40], eax
test eax, eax
je 0x102a246a
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x298]
movsd xmm3, qword [eax + 0xb0]
movsd xmm4, qword [eax + 0xb8]
nop dword [eax]
comisd xmm4, xmm3
movsd xmm1, qword [esp + ecx*8 + 0x1c8]
jb 0x102a2406
movaps xmm0, xmm3
subsd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x102a2427
subsd xmm1, xmm4
comisd xmm2, xmm1
jmp 0x102a241e
movaps xmm0, xmm1
subsd xmm0, xmm3
comisd xmm2, xmm0
jbe 0x102a2427
movaps xmm0, xmm4
subsd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x102a2427
mov eax, 1
jmp 0x102a2429
xor eax, eax
test al, al
je 0x102a245c
movsd xmm1, qword [edi]
movsd xmm0, qword [edi + 8]
subsd xmm1, qword [edx]
subsd xmm0, qword [edx + 8]
mulsd xmm1, xmm1
mulsd xmm0, xmm0
addsd xmm1, xmm0
comisd xmm5, xmm1
jbe 0x102a245c
movaps xmm5, xmm1
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ecx
inc ecx
add edx, 0x10
cmp ecx, dword [esp + 0x40]
jl 0x102a23e0
inc esi
add edi, 0x10
cmp esi, dword [esp + 0x18]
jl 0x102a2353
ucomisd xmm5, qword [0x10300438]
lahf
test ah, 0x44
jnp 0x102a27e4
mov ecx, dword [esp + 0x30]
lea esi, [esp + 0xe8]
mov edx, dword [esp + 0x2c]
lea edi, [esp + 0x298]
mov eax, edx
xorps xmm3, xmm3
shl eax, 4
movsd xmm5, qword [esp + ecx*8 + 0x378]
add esi, eax
subsd xmm6, xmm5
movsd qword [esp + 0x18], xmm5
subsd xmm7, xmm5
mov eax, ecx
shl eax, 4
add edi, eax
mulsd xmm6, xmm7
comisd xmm3, xmm6
jb 0x102a251a
mov eax, dword [esp + 0x34]
movsd xmm2, qword [esp + edx*8 + 0x1c8]
movsd xmm1, qword [eax + 0xb8]
movsd xmm0, qword [eax + 0xb0]
subsd xmm1, xmm2
subsd xmm0, xmm2
mulsd xmm1, xmm0
comisd xmm3, xmm1
jb 0x102a251a
push edi
mov ecx, esi
call fcn.101d0650
test al, al
jne 0x102a29b0
movsd xmm5, qword [esp + 0x18]
xorps xmm3, xmm3
movsd xmm1, qword [esi]
movsd xmm0, qword [esi + 8]
subsd xmm1, qword [edi]
subsd xmm0, qword [edi + 8]
mulsd xmm1, xmm1
mulsd xmm0, xmm0
addsd xmm1, xmm0
comisd xmm1, xmmword [esp + 0x50]
ja 0x102a2d5c
mov edi, dword [esp + 0x48]
inc edi
cmp dword [esp + 0x20], 5
mov dword [esp + 0x48], edi
jge 0x102a2d5c
mov eax, dword [esp + 0xc]
ucomisd xmm5, xmm3
mov ecx, dword [eax]
movsd qword [esp + 0x50], xmm1
lahf
test ah, 0x44
jp 0x102a257c
movsd xmm6, qword [ecx]
movsd xmm7, qword [ecx + 8]
jmp 0x102a2647
movsd xmm2, qword [0x103001f8]
movsd xmm6, qword [ecx + 0x20]
ucomisd xmm5, xmm2
lahf
test ah, 0x44
jp 0x102a259d
movsd xmm7, qword [ecx + 0x28]
jmp 0x102a2647
movss xmm1, dword [ecx + 0x30]
movaps xmm0, xmm1
movsd xmm7, qword [ecx + 0x28]
subss xmm0, dword [0x10300128]
cvtps2pd xmm3, xmm1
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
movaps xmm4, xmm0
xorps xmm4, xmmword [0x103009f0]
mulsd xmm4, xmm5
addsd xmm4, xmm0
movsd xmm0, qword [ecx + 0x10]
mulsd xmm0, xmm3
mulsd xmm4, xmm5
movaps xmm1, xmm0
addsd xmm0, xmm0
addsd xmm4, xmm2
movsd xmm2, qword [ecx]
subsd xmm1, xmm2
subsd xmm6, xmm0
movsd xmm0, qword [ecx + 0x18]
mulsd xmm0, xmm3
addsd xmm1, xmm1
addsd xmm6, xmm2
mulsd xmm6, xmm5
addsd xmm6, xmm1
movaps xmm1, xmm0
addsd xmm0, xmm0
mulsd xmm6, xmm5
subsd xmm7, xmm0
addsd xmm6, xmm2
movsd xmm2, qword [ecx + 8]
subsd xmm1, xmm2
addsd xmm7, xmm2
divsd xmm6, xmm4
mulsd xmm7, xmm5
addsd xmm1, xmm1
addsd xmm7, xmm1
mulsd xmm7, xmm5
addsd xmm7, xmm2
divsd xmm7, xmm4
movsd qword [esp + 0xc8], xmm6
movsd qword [esp + 0xd0], xmm7
movss xmm3, dword [ecx + 0x30]
movsd xmm1, qword [ecx + 0x10]
subsd xmm1, qword [ecx]
movsd xmm4, qword [ecx + 0x20]
subsd xmm4, qword [ecx]
cvtps2pd xmm3, xmm3
movaps xmm2, xmm4
movsd qword [esp + 0x18], xmm4
mulsd xmm1, xmm3
movaps xmm0, xmm1
addsd xmm0, xmm1
subsd xmm2, xmm0
movaps xmm0, xmm3
mulsd xmm0, xmm4
subsd xmm0, xmm4
mulsd xmm0, xmm5
addsd xmm2, xmm0
mulsd xmm2, xmm5
addsd xmm2, xmm1
movsd xmm1, qword [ecx + 0x28]
subsd xmm1, qword [ecx + 8]
movsd qword [esp + 0x20], xmm2
movsd xmm2, qword [ecx + 0x18]
movaps xmm4, xmm1
subsd xmm2, qword [ecx + 8]
mulsd xmm2, xmm3
mulsd xmm3, xmm1
movaps xmm0, xmm2
addsd xmm0, xmm2
subsd xmm3, xmm1
xorps xmm1, xmm1
subsd xmm4, xmm0
movsd xmm0, qword [esp + 0x20]
mulsd xmm3, xmm5
ucomisd xmm0, xmm1
addsd xmm4, xmm3
lahf
mulsd xmm4, xmm5
addsd xmm4, xmm2
test ah, 0x44
jp 0x102a272f
ucomisd xmm4, xmm1
lahf
test ah, 0x44
jp 0x102a272f
ucomisd xmm5, xmm1
lahf
test ah, 0x44
jnp 0x102a271f
ucomisd xmm5, qword [0x103001f8]
lahf
test ah, 0x44
jp 0x102a272f
movsd xmm4, qword [ecx + 0x28]
movsd xmm0, qword [esp + 0x18]
subsd xmm4, qword [ecx + 8]
mov esi, dword [esp + 0x10]
addsd xmm6, xmm0
addsd xmm7, xmm4
lea eax, [esp + 0xc8]
push eax
push dword [esi]
lea ecx, [esp + 0xf0]
movsd qword [esp + 0xe0], xmm6
movsd qword [esp + 0xe8], xmm7
call fcn.101d2850
test eax, eax
je 0x102a27e8
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x88]
push eax
movsd xmm7, qword [esp + ecx*8 + 0x1cc]
mov ecx, dword [esi]
movaps xmm2, xmm7
call fcn.101d4d60
mov esi, eax
movaps xmm2, xmm7
lea eax, [esp + 0xa8]
push eax
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x6c], xmm0
call fcn.101d4870
movsd xmm1, qword [esi]
lea ecx, [esp + 0x298]
addsd xmm1, qword [eax]
movsd xmm0, qword [eax + 8]
lea eax, [esp + 0x68]
addsd xmm0, qword [esi + 8]
push eax
mov eax, dword [esp + 0x10]
movsd qword [esp + 0x7c], xmm1
movsd qword [esp + 0x84], xmm0
push dword [eax]
call fcn.102795c0
test eax, eax
jne 0x102a2306
mov esi, dword [esp + 0x10]
movaps xmm0, xmmword [0x103009d0]
lea ecx, [esp + 0x68]
mov edi, dword [esp + 0x34]
sub esp, 8
mov eax, dword [esp + 0x14]
movsd xmm1, qword [0x10300488]
movups xmmword [esp + 0x70], xmm0
mov byte [esp + 0x88], 0
movups xmmword [esp + 0xb0], xmm0
mov byte [esp + 0xc8], 0
movsd xmm0, qword [edi + 0xb0]
movsd qword [esp], xmm0
push dword [eax]
movsd qword [esp + 0x84], xmm1
push edi
push dword [esi]
movsd qword [esp + 0xcc], xmm1
call fcn.1028e510
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xa8]
movsd xmm0, qword [edi + 0xb8]
sub esp, 8
movsd qword [esp], xmm0
push dword [eax]
lea eax, [edi + 0x30]
push eax
push dword [esi]
call fcn.1028e510
movsd xmm2, qword [esp + 0x78]
movsd xmm1, qword [esp + 0xb8]
movaps xmm0, xmm2
comisd xmm2, xmm1
seta al
mov byte [esp + 0x17], al
test al, al
je 0x102a289b
movaps xmm0, xmm1
movaps xmm1, xmm2
mov esi, dword [esp + 0x38]
movsd xmm3, qword [esi + 0xa8]
comisd xmm0, xmm3
ja 0x102a28b3
movsd xmm0, xmm3
jmp 0x102a28b7
movsd xmm0, xmm0
movsd xmm4, qword [esi + 0xb0]
movsd qword [esp + 0x38], xmm0
comisd xmm4, xmm1
ja 0x102a28d1
movsd xmm1, xmm4
jmp 0x102a28d5
movsd xmm1, xmm1
comisd xmm0, xmm1
movsd qword [esp + 0x20], xmm1
ja 0x102a2d5c
movsd xmm2, qword [esp + 0x70]
movsd xmm5, qword [esp + 0xb0]
movsd xmm6, qword [esp + 0xa8]
ucomisd xmm0, xmm3
movsd xmm0, qword [esp + 0x68]
lahf
test ah, 0x44
jp 0x102a2a2f
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x88]
movsd xmm0, qword [0x10300488]
sub esp, 8
movsd qword [esp + 0xa0], xmm0
movaps xmm0, xmmword [0x103009d0]
mov byte [esp + 0xa8], 0
movsd qword [esp], xmm3
push dword [eax]
mov eax, dword [esp + 0x18]
push esi
movups xmmword [esp + 0x98], xmm0
push dword [eax]
call fcn.1029b670
movsd xmm3, qword [esi]
subsd xmm3, qword [esp + 0x88]
movsd xmm4, qword [esi + 0xb0]
movsd xmm1, qword [esp + 0x20]
movsd xmm0, qword [esp + 0x68]
movsd xmm2, qword [esp + 0x70]
movsd xmm5, qword [esp + 0xb0]
movsd xmm6, qword [esp + 0xa8]
mov al, byte [esp + 0x17]
movsd qword [esp + 0x18], xmm3
movsd xmm3, qword [esi + 8]
subsd xmm3, qword [esp + 0x90]
jmp 0x102a2a62
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov byte [edx + 0x1a8], 1
movsd xmm0, qword [esp + eax*8 + 0x378]
add eax, eax
mov dword [edx + 0x1a0], 0
movsd qword [edx + 0xe0], xmm0
movsd xmm0, qword [esp + ecx*8 + 0x1c8]
add ecx, ecx
movsd qword [edx + 0x140], xmm0
movups xmm0, xmmword [esp + eax*8 + 0x298]
mov eax, 1
movups xmmword [edx], xmm0
movups xmm0, xmmword [esp + ecx*8 + 0xe8]
movups xmmword [edx + 0xc0], xmm0
mov byte [edx + 0x1a6], 1
pop edi
pop esi
mov ecx, dword [esp + 0x444]
xor ecx, esp
call fcn.102af9d5
mov esp, ebp
pop ebp
ret 0x10
test al, al
je 0x102a2a4d
movaps xmm3, xmm6
lea ecx, [edi + 0x30]
subsd xmm3, qword [ecx]
movsd qword [esp + 0x18], xmm3
movaps xmm3, xmm5
subsd xmm3, qword [ecx + 8]
jmp 0x102a2a65
movaps xmm3, xmm0
subsd xmm3, qword [edi]
movsd qword [esp + 0x18], xmm3
movaps xmm3, xmm2
subsd xmm3, qword [edi + 8]
lea ecx, [edi + 0x30]
ucomisd xmm1, xmm4
movsd qword [esp + 0x40], xmm3
lahf
test ah, 0x44
jp 0x102a2adc
mov edi, dword [esp + 0x10]
lea eax, [esi + 0x20]
movsd xmm0, qword [0x10300488]
lea ecx, [esp + 0x68]
mov esi, dword [esp + 0xc]
sub esp, 8
movsd qword [esp + 0x80], xmm0
movaps xmm0, xmmword [0x103009d0]
mov byte [esp + 0x88], 0
movsd qword [esp], xmm4
push dword [edi]
movups xmmword [esp + 0x74], xmm0
push eax
push dword [esi]
call fcn.1029b670
mov eax, dword [esp + 0x64]
movsd xmm1, qword [esp + 0x20]
movsd xmm0, qword [eax]
movsd xmm2, qword [eax + 8]
subsd xmm0, qword [esp + 0x68]
subsd xmm2, qword [esp + 0x70]
jmp 0x102a2b02
mov esi, dword [esp + 0xc]
test al, al
je 0x102a2aef
subsd xmm0, qword [edi]
subsd xmm2, qword [edi + 8]
jmp 0x102a2afe
movaps xmm0, xmm6
movaps xmm2, xmm5
subsd xmm0, qword [ecx]
subsd xmm2, qword [ecx + 8]
mov edi, dword [esp + 0x10]
mulsd xmm0, qword [esp + 0x18]
xorps xmm3, xmm3
mulsd xmm2, qword [esp + 0x40]
addsd xmm0, xmm2
comisd xmm0, xmm3
jae 0x102a2d5c
movsd xmm0, qword [0x10300488]
movsd xmm6, qword [esp + 0x38]
movsd qword [esp + 0x78], xmm0
subsd xmm1, xmm6
movaps xmm0, xmmword [0x103009d0]
mov byte [esp + 0x80], 0
movups xmmword [esp + 0x68], xmm0
nop dword [eax + eax]
mulsd xmm1, qword [0x103001c8]
movsd xmm2, qword [0x10300050]
movaps xmm0, xmm1
movsd qword [esp + 0x20], xmm1
andps xmm0, xmmword [0x103009e0]
comisd xmm2, xmm0
ja 0x102a2d5c
mov ecx, dword [esi]
movaps xmm0, xmm1
addsd xmm6, xmm0
ucomisd xmm6, xmm3
movsd qword [esp + 0x38], xmm6
lahf
test ah, 0x44
jp 0x102a2ba0
movups xmm0, xmmword [ecx]
movups xmmword [esp + 0x50], xmm0
jmp 0x102a2c7b
movsd xmm2, qword [0x103001f8]
ucomisd xmm6, xmm2
lahf
test ah, 0x44
jp 0x102a2bc0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [esp + 0x50], xmm0
jmp 0x102a2c7b
movss xmm1, dword [ecx + 0x30]
movaps xmm0, xmm1
movsd xmm4, qword [ecx + 0x20]
subss xmm0, dword [0x10300128]
cvtps2pd xmm3, xmm1
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
movaps xmm5, xmm0
xorps xmm5, xmmword [0x103009f0]
mulsd xmm5, xmm6
addsd xmm5, xmm0
movsd xmm0, qword [ecx + 0x10]
mulsd xmm0, xmm3
mulsd xmm5, xmm6
movaps xmm1, xmm0
addsd xmm0, xmm0
addsd xmm5, xmm2
movsd xmm2, qword [ecx]
subsd xmm1, xmm2
subsd xmm4, xmm0
movsd xmm0, qword [ecx + 0x18]
mulsd xmm0, xmm3
movsd xmm3, qword [ecx + 8]
addsd xmm1, xmm1
addsd xmm4, xmm2
mulsd xmm4, xmm6
addsd xmm4, xmm1
movaps xmm1, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm3
mulsd xmm4, xmm6
addsd xmm1, xmm1
addsd xmm4, xmm2
movsd xmm2, qword [ecx + 0x28]
subsd xmm2, xmm0
divsd xmm4, xmm5
addsd xmm2, xmm3
movsd qword [esp + 0x50], xmm4
mulsd xmm2, xmm6
addsd xmm2, xmm1
mulsd xmm2, xmm6
addsd xmm2, xmm3
divsd xmm2, xmm5
movsd qword [esp + 0x58], xmm2
movups xmm0, xmmword [esp + 0x50]
sub esp, 8
lea eax, [esp + 0x90]
movups xmmword [esp + 0x90], xmm0
movsd qword [esp], xmm6
push dword [edi]
push eax
push ecx
lea ecx, [esp + 0x7c]
call fcn.1029b670
movsd xmm0, qword [esp + 0x90]
xor ecx, ecx
movsd xmm1, qword [esp + 0x88]
xorps xmm2, xmm2
subsd xmm1, qword [esp + 0x68]
subsd xmm0, qword [esp + 0x70]
mulsd xmm1, qword [esp + 0x18]
mulsd xmm0, qword [esp + 0x40]
addsd xmm1, xmm0
movsd xmm0, qword [esp + 0x20]
comisd xmm1, xmm2
setae cl
xor eax, eax
comisd xmm2, xmm0
seta al
cmp ecx, eax
jne 0x102a2cfe
xorps xmm0, xmmword [0x103009f0]
movsd qword [esp + 0x20], xmm0
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x8c]
call fcn.101d0650
movsd xmm1, qword [esp + 0x20]
xorps xmm3, xmm3
movsd xmm6, qword [esp + 0x38]
test al, al
je 0x102a2b50
mov eax, dword [edi + 0x18]
movsd xmm2, qword [esp + 0x78]
nop
movsd xmm1, qword [eax + 0xb8]
movsd xmm0, qword [eax + 0xb0]
subsd xmm1, xmm2
subsd xmm0, xmm2
mulsd xmm1, xmm0
comisd xmm3, xmm1
jae 0x102a2d74
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x102a2d30
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x444]
xor ecx, esp
call fcn.102af9d5
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x88]
push ecx
movaps xmm3, xmm2
mov ecx, eax
movsd xmm2, qword [esp + 0x3c]
mov byte [eax + 0x1a7], 1
call fcn.102202a0
mov ecx, dword [esp + 0x44c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.102af9d5
mov esp, ebp
pop ebp
ret 0x10