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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc0
movzx eax, byte [0x104cdecd]
test eax, eax
je 0x101a8dbb
cmp dword [0x104dc114], 0
je 0x101a8dbb
mov ecx, dword [0x104dc114]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x7c]
call fcn.10005da0
cmp dword [eax], 0
je 0x101a8d4a
mov dword [esp + 0x30], 1
jmp 0x101a8d52
mov dword [esp + 0x30], 0
movzx edx, byte [esp + 0x30]
test edx, edx
je 0x101a8dbb
mov ecx, dword [0x104dc114]
call fcn.10005380
mov eax, dword [eax]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x80]
and ecx, 1
jne 0x101a8d85
mov dword [esp + 0x34], 1
jmp 0x101a8d8d
mov dword [esp + 0x34], 0
movzx edx, byte [esp + 0x34]
test edx, edx
jne 0x101a8dbb
mov ecx, dword [0x104dc114]
call fcn.10436dd0
test eax, eax
je 0x101a8dbb
mov ecx, dword [0x104dc114]
call fcn.10436dd0
mov ecx, eax
call fcn.1044a780
test eax, eax
jne 0x101a8dc0
jmp 0x101a9246
lea eax, [ebp + 8]
mov dword [esp + 0xbc], eax
mov ecx, dword [0x104dc114]
call fcn.10007930
mov ecx, eax
call fcn.10002a50
fstp dword [esp + 0x3c]
movss xmm0, dword [0x10493950]
comiss xmm0, dword [esp + 0x3c]
jb 0x101a8df4
jmp 0x101a9246
movss xmm0, dword [0x10493aa4]
movss dword [esp + 0x1c], xmm0
mov ecx, dword [0x104dc114]
call fcn.10436dd0
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x101a8e73
mov ecx, dword [esp + 0xc]
call fcn.1044a780
test eax, eax
je 0x101a8e73
mov ecx, dword [0x104dc114]
call fcn.100062b0
movzx ecx, byte [eax]
test ecx, ecx
je 0x101a8e50
mov ecx, dword [esp + 0xc]
call fcn.1044a780
movss xmm0, dword [eax + 0x138]
movss dword [esp + 0x38], xmm0
jmp 0x101a8e67
mov ecx, dword [esp + 0xc]
call fcn.1044a780
movss xmm0, dword [eax + 0x134]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [0x10493700]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [0x104936f0]
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0x84]
comiss xmm0, dword [esp + 0x3c]
jb 0x101a923a
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
movss xmm0, dword [edx + 0x28]
mulss xmm0, dword [eax + 0x28]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
movss xmm1, dword [ecx + 0x24]
mulss xmm1, dword [edx + 0x24]
addss xmm1, xmm0
movss dword [esp + 0x88], xmm1
cvtss2sd xmm0, dword [esp + 0x88]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x98], xmm0
movss xmm0, dword [0x10493680]
movss dword [esp + 0x40], xmm0
mov ecx, dword [0x104dc114]
call fcn.10007930
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movss xmm0, dword [eax + 4]
mulss xmm0, dword [ecx + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
movss xmm1, dword [edx]
mulss xmm1, dword [eax]
addss xmm1, xmm0
movss dword [esp + 0x8c], xmm1
cvtss2sd xmm0, dword [esp + 0x8c]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x40]
comiss xmm0, dword [esp + 0x44]
jbe 0x101a8f78
lea ecx, [esp + 0x40]
mov dword [esp + 0x48], ecx
jmp 0x101a8f80
lea edx, [esp + 0x44]
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x94]
movss xmm0, dword [edx]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x4c]
divss xmm0, dword [esp + 0x98]
movss xmm1, dword [esp + 0x9c]
divss xmm1, dword [esp + 0x4c]
mulss xmm0, xmm1
movss dword [esp + 0x60], xmm0
mov eax, dword [0x104e7dc0]
mov ecx, dword [eax + 0x2c]
xor ecx, dword [0x104e7dc0]
mov dword [esp + 0xa0], ecx
movss xmm0, dword [esp + 0xa0]
movss dword [esp + 0x54], xmm0
mov edx, dword [0x104e7dc0]
mov eax, dword [edx + 0x2c]
xor eax, dword [0x104e7dc0]
mov dword [esp + 0xa4], eax
movss xmm0, dword [esp + 0xa4]
xorps xmm0, xmmword [0x10493c50]
movss dword [esp + 0x5c], xmm0
mov ecx, dword [ebp + 8]
movss xmm0, dword [ecx + 0x24]
mulss xmm0, dword [esp + 0x60]
movss dword [esp + 0x20], xmm0
xor edx, edx
mov byte [esp + 6], dl
mov al, byte [esp + 6]
mov byte [esp + 0x14], al
movss xmm0, dword [esp + 0x20]
comiss xmm0, dword [esp + 0x54]
jbe 0x101a905b
mov dword [esp + 0x50], 1
jmp 0x101a9063
mov dword [esp + 0x50], 0
mov cl, byte [esp + 0x50]
mov byte [esp + 7], cl
movzx edx, byte [esp + 7]
test edx, edx
je 0x101a907e
lea eax, [esp + 0x54]
mov dword [esp + 0x24], eax
jmp 0x101a90c0
movss xmm0, dword [esp + 0x5c]
comiss xmm0, dword [esp + 0x20]
jbe 0x101a9095
mov dword [esp + 0x58], 1
jmp 0x101a909d
mov dword [esp + 0x58], 0
mov cl, byte [esp + 0x58]
mov byte [esp + 8], cl
movzx edx, byte [esp + 8]
test edx, edx
je 0x101a90b8
lea eax, [esp + 0x5c]
mov dword [esp + 0x24], eax
jmp 0x101a90c0
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x24]
movss xmm0, dword [edx]
movss dword [esp + 0xa8], xmm0
mov eax, dword [ebp + 8]
movss xmm0, dword [esp + 0xa8]
movss dword [eax + 0x24], xmm0
mov ecx, dword [0x104e7dd4]
mov edx, dword [ecx + 0x2c]
xor edx, dword [0x104e7dd4]
mov dword [esp + 0xac], edx
movss xmm0, dword [esp + 0xac]
movss dword [esp + 0x68], xmm0
mov eax, dword [0x104e7dd4]
mov ecx, dword [eax + 0x2c]
xor ecx, dword [0x104e7dd4]
mov dword [esp + 0xb0], ecx
movss xmm0, dword [esp + 0xb0]
xorps xmm0, xmmword [0x10493c50]
movss dword [esp + 0x70], xmm0
mov edx, dword [ebp + 8]
movss xmm0, dword [edx + 0x28]
mulss xmm0, dword [esp + 0x60]
movss dword [esp + 0x28], xmm0
xor eax, eax
mov byte [esp + 9], al
mov cl, byte [esp + 9]
mov byte [esp + 0x18], cl
movss xmm0, dword [esp + 0x28]
comiss xmm0, dword [esp + 0x68]
jbe 0x101a916b
mov dword [esp + 0x64], 1
jmp 0x101a9173
mov dword [esp + 0x64], 0
mov dl, byte [esp + 0x64]
mov byte [esp + 0xa], dl
movzx eax, byte [esp + 0xa]
test eax, eax
je 0x101a918e
lea ecx, [esp + 0x68]
mov dword [esp + 0x2c], ecx
jmp 0x101a91d0
movss xmm0, dword [esp + 0x70]
comiss xmm0, dword [esp + 0x28]
jbe 0x101a91a5
mov dword [esp + 0x6c], 1
jmp 0x101a91ad
mov dword [esp + 0x6c], 0
mov dl, byte [esp + 0x6c]
mov byte [esp + 0xb], dl
movzx eax, byte [esp + 0xb]
test eax, eax
je 0x101a91c8
lea ecx, [esp + 0x70]
mov dword [esp + 0x2c], ecx
jmp 0x101a91d0
lea edx, [esp + 0x28]
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x2c]
movss xmm0, dword [eax]
movss dword [esp + 0xb4], xmm0
mov ecx, dword [ebp + 8]
movss xmm0, dword [esp + 0xb4]
movss dword [ecx + 0x28], xmm0
mov edx, 0x40000
not edx
mov dword [esp + 0xb8], edx
mov eax, dword [ebp + 8]
add eax, 0x30
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
and edx, dword [esp + 0xb8]
mov eax, dword [esp + 0x74]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
add ecx, 0x30
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
or eax, 0x20000
mov ecx, dword [esp + 0x78]
mov dword [ecx], eax
jmp 0x101a9246
lea ecx, [esp + 0xbc]
call fcn.101a85e0
mov esp, ebp
pop ebp
ret