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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, dword [0x100f916c]
sub esp, 0x134
push ebx
push esi
push edi
sub eax, 0
je 0x10015259
sub eax, 1
je 0x10015252
xor ebx, ebx
jmp 0x1001526e
mov ebx, 2
jmp 0x1001526e
movss xmm0, dword [0x100f90d8]
mov ebx, 1
movss dword [0x100fb384], xmm0
mov ecx, dword [0x1017def8]
lea eax, [esp + 0x54]
cmp dword [0x1017def4], ecx
push eax
cmovne ecx, dword [0x1017def4]
mov dword [0x1017def8], ecx
mov ecx, dword [ebp + 8]
call fcn.10011480
mov ecx, dword [0x100fc310]
lea edx, [esp + 0xac]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x4c]
call eax
push 0x84
lea eax, [esp + 0xbc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [0x100f90d0], 0
je 0x1001568b
mov ecx, dword [ebp + 0xc]
call fcn.100149a0
cmp eax, 0x1bf
jne 0x1001530a
cmp byte [0x100f918c], 0
je 0x1001530a
xor eax, eax
jmp 0x1001530f
mov eax, 1
mov dword [esp + 0x24], eax
mov ecx, 0x1017dbe0
lea eax, [esp + 0x24]
push eax
call fcn.100ce400
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov dword [esp + 0x28], ecx
cmp edi, ecx
je 0x1001568b
mov ecx, dword [edi]
call fcn.1000e7d0
test al, al
jne 0x1001567e
mov ecx, dword [edi]
call fcn.1000e9f0
shr eax, 0xd
test al, 1
jne 0x1001567e
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [0x100fc310]
lea esi, [esp + 0xb8]
push esi
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
call edx
test al, al
je 0x1001567e
cmp byte [0x100f90b8], 0
je 0x10015399
mov ecx, dword [edi]
call fcn.1000e8d0
test eax, 0x4020
jne 0x1001567e
cmp byte [0x100f90e8], 0
je 0x100153c2
mov ecx, dword [edi]
call fcn.1000e8d0
shr eax, 4
test al, 1
je 0x100153c2
mov ecx, dword [edi]
call fcn.1000e8d0
test eax, 0x9000000
je 0x1001567e
cmp byte [0x100f90b0], 0
je 0x100153dd
mov ecx, dword [edi]
call fcn.1000e8d0
shr eax, 7
test al, 1
jne 0x1001567e
cmp byte [0x100f90a8], 0
je 0x10015417
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
cmp byte [eax + 0x1017dbf4], 0
je 0x10015417
mov ecx, dword [edi]
call fcn.10005ff0
mov ecx, dword [0x1017dbe8]
mov esi, eax
call fcn.10005ff0
cmp esi, eax
jne 0x1001567e
mov esi, dword [esp + 0x100]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x28], esi
push eax
mov ecx, 0x100fb4a4
call fcn.10008c20
mov eax, dword [esp + 0x68]
mov ecx, dword [0x100fb4a4]
cmp byte [eax + 0xd], 0
jne 0x1001544b
cmp esi, dword [eax + 0x10]
jge 0x1001544d
mov eax, ecx
cmp eax, ecx
jne 0x1001567e
mov ecx, dword [edi]
lea eax, [esp + 0x48]
push 4
push eax
call fcn.100112d0
movss xmm0, dword [esp + 0x58]
sub esp, 8
subss xmm0, dword [esp + 0x54]
movss xmm2, dword [esp + 0x64]
subss xmm2, dword [esp + 0x58]
movss xmm1, dword [esp + 0x5c]
subss xmm1, dword [esp + 0x50]
movss dword [esp + 0x44], xmm0
mov dword [esp + 0x34], 0
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x2c], xmm2
movaps xmm2, xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mov dword [esp + 0x38], 0
mulss xmm0, xmm1
mov dword [esp + 0x3c], 0
movss dword [esp + 0x40], xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
movss dword [esp + 0x4c], xmm2
movsd qword [esp], xmm0
call fcn.1000fd70
fdivr dword [esp + 0x24]
fstp dword [esp + 0x24]
movss xmm0, dword [esp + 0x24]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
mulss xmm0, dword [0x100f07d4]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x3c]
divss xmm0, dword [esp + 0x38]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
movaps xmm1, xmm0
xorps xmm3, xmm3
mulss xmm1, dword [0x100f07d4]
xorps xmm4, xmm4
movss xmm0, dword [esp + 0x38]
comiss xmm0, xmm3
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm4
jb 0x1001554d
addss xmm1, dword [0x100f0830]
movss dword [esp + 0x30], xmm1
cmp ebx, 1
jne 0x10015589
lea edx, [esp + 0x2c]
lea ecx, [esp + 0xac]
call fcn.1000ff40
movaps xmm2, xmm0
xorps xmm3, xmm3
comiss xmm2, dword [0x100f90d8]
ja 0x1001567e
movss xmm4, dword [esp + 0x34]
movss xmm1, dword [esp + 0x30]
movss xmm0, dword [esp + 0x2c]
jmp 0x100155af
xorps xmm2, xmm2
cmp ebx, 2
jne 0x100155a9
movss xmm0, dword [esp + 0x40]
mulss xmm0, xmm0
addss xmm0, dword [esp + 0x44]
call fcn.1000fd60
movaps xmm3, xmm0
movss xmm0, dword [esp + 0x24]
movss xmm5, dword [esp + 0x48]
movss xmm6, dword [esp + 0x4c]
movss xmm7, dword [esp + 0x50]
mov eax, dword [0x1017def8]
mov ecx, dword [edi]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], 1
movss dword [esp + 0x74], xmm5
movss dword [esp + 0x78], xmm6
movss dword [esp + 0x7c], xmm7
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x88], xmm4
movss dword [esp + 0x8c], xmm2
movss dword [esp + 0x90], xmm3
mov dword [esp + 0x94], 0xffffffff
mov byte [esp + 0x98], 0
cmp eax, dword [0x1017defc]
je 0x10015673
mov dword [eax], ecx
mov dword [eax + 4], 1
movss dword [eax + 8], xmm5
movss dword [eax + 0xc], xmm6
movss dword [eax + 0x10], xmm7
movss dword [eax + 0x14], xmm0
movss dword [eax + 0x18], xmm1
movss dword [eax + 0x1c], xmm4
movss dword [eax + 0x20], xmm2
movss dword [eax + 0x24], xmm3
mov dword [eax + 0x28], 0xffffffff
mov byte [eax + 0x2c], 0
add dword [0x1017def8], 0x30
jmp 0x1001567e
lea ecx, [esp + 0x6c]
push ecx
push eax
call fcn.10014240
add edi, 4
cmp edi, dword [esp + 0x28]
jne 0x10015333
cmp byte [0x100f90e0], 0
je 0x1001598d
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 4
push eax
mov ecx, 0x1017dbe0
call fcn.100ce400
mov ecx, dword [eax + 4]
mov edi, dword [eax]
mov dword [esp + 0xa8], ecx
cmp edi, ecx
je 0x1001598d
mov ecx, dword [edi]
call fcn.1000e7d0
test al, al
jne 0x1001597d
mov esi, dword [edi]
lea edx, [esp + 0x48]
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
push edx
lea edx, [esp + 0x64]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov eax, dword [eax + 0x50]
push edx
call eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
movss xmm3, dword [esp + 0x50]
sub esp, 8
addss xmm3, dword [esp + 0x70]
movss xmm1, dword [esp + 0x5c]
movss xmm0, dword [eax]
movss xmm2, dword [eax + 4]
subss xmm1, xmm0
movss dword [esp + 0xa4], xmm0
mulss xmm3, dword [0x100f0654]
movss xmm0, dword [esp + 0x60]
subss xmm0, xmm2
movss dword [esp + 0xa8], xmm2
addss xmm3, dword [eax + 8]
movss xmm2, dword [esp + 0x64]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
movss dword [esp + 0x4c], xmm0
subss xmm2, xmm3
movss dword [esp + 0xac], xmm3
movaps xmm3, xmm0
mov dword [esp + 0x3c], 0
mulss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x48], xmm2
addss xmm3, xmm0
cvtps2pd xmm0, xmm3
movss dword [esp + 0x44], xmm3
movsd qword [esp], xmm0
call fcn.1000fd70
movss dword [esp + 0x28], xmm2
fdivr dword [esp + 0x28]
fstp dword [esp + 0x28]
movss xmm0, dword [esp + 0x28]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
mulss xmm0, dword [0x100f07d4]
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x44]
divss xmm0, dword [esp + 0x24]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
movaps xmm1, xmm0
xorps xmm3, xmm3
mulss xmm1, dword [0x100f07d4]
xorps xmm4, xmm4
movss xmm0, dword [esp + 0x24]
comiss xmm0, xmm3
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm4
jb 0x10015843
addss xmm1, dword [0x100f0830]
movss dword [esp + 0x30], xmm1
cmp ebx, 1
jne 0x1001587f
lea edx, [esp + 0x2c]
lea ecx, [esp + 0xac]
call fcn.1000ff40
movaps xmm2, xmm0
xorps xmm3, xmm3
comiss xmm2, dword [0x100f90d8]
ja 0x1001597d
movss xmm4, dword [esp + 0x34]
movss xmm1, dword [esp + 0x30]
movss xmm0, dword [esp + 0x2c]
jmp 0x100158a5
xorps xmm2, xmm2
cmp ebx, 2
jne 0x1001589f
movss xmm0, dword [esp + 0x40]
mulss xmm0, xmm0
addss xmm0, dword [esp + 0x3c]
call fcn.1000fd60
movaps xmm3, xmm0
movss xmm0, dword [esp + 0x38]
movss xmm6, dword [esp + 0x9c]
movss xmm7, dword [esp + 0xa0]
movss xmm5, dword [esp + 0xa4]
mov eax, dword [0x1017def8]
mov ecx, dword [edi]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], 2
movss dword [esp + 0x74], xmm6
movss dword [esp + 0x78], xmm7
movss dword [esp + 0x7c], xmm5
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x88], xmm4
movss dword [esp + 0x8c], xmm2
movss dword [esp + 0x90], xmm3
mov dword [esp + 0x94], 0xffffffff
mov byte [esp + 0x98], 0
cmp eax, dword [0x1017defc]
je 0x10015972
mov dword [eax], ecx
mov dword [eax + 4], 2
movss dword [eax + 8], xmm6
movss dword [eax + 0xc], xmm7
movss dword [eax + 0x10], xmm5
movss dword [eax + 0x14], xmm0
movss dword [eax + 0x18], xmm1
movss dword [eax + 0x1c], xmm4
movss dword [eax + 0x20], xmm2
movss dword [eax + 0x24], xmm3
mov dword [eax + 0x28], 0xffffffff
mov byte [eax + 0x2c], 0
add dword [0x1017def8], 0x30
jmp 0x1001597d
lea ecx, [esp + 0x6c]
push ecx
push eax
call fcn.10014240
add edi, 4
cmp edi, dword [esp + 0xa8]
jne 0x100156c3
mov eax, dword [0x1017def4]
cmp eax, dword [0x1017def8]
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 8