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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x3174
call fcn.1014a400
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x44], ebx
call fcn.100d46b0
cmp byte [0x102f11ad], 0
je 0x100d6316
mov eax, dword [0x102efe7c]
mov dword [0x102eff84], 0
sub eax, 2
je 0x100d5d2f
sub eax, 1
jne 0x100d5d42
cmp dword [0x102f1290], 2
je 0x100d5d38
jmp 0x100d5d42
cmp dword [0x102f13ec], 2
jne 0x100d5d42
mov dword [0x102eff84], 1
mov ecx, dword [0x102f00e0]
test ecx, ecx
je 0x100d5d77
cmp byte [0x102f39f9], 0
jne 0x100d5d77
mov eax, dword [0x102f00dc]
cmp eax, dword [0x102f00e4]
jne 0x100d5d77
cmp byte [0x102effd8], 0
jne 0x100d5d77
mov eax, dword [0x102f00e8]
sub eax, ecx
mov dword [0x102eff84], eax
mov ecx, dword [0x102efe50]
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
mov ecx, eax
test ecx, ecx
je 0x100d5e3a
mov eax, dword [ecx + 0xc]
cmp eax, dword [ebx + 0x3c]
jle 0x100d5e21
mov dword [ebx + 0x3c], eax
lea esi, [ebx + 0x24]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [0x102efef8]
movss xmm0, dword [eax]
mov eax, dword [esi + 0x10]
inc eax
movss dword [esp + 0x40], xmm0
cmp dword [esi + 8], eax
ja 0x100d5dd1
push ecx
mov ecx, esi
call fcn.100d6900
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
lea ecx, [eax - 1]
and edi, ecx
mov dword [esi + 0xc], edi
cmove edi, eax
mov eax, dword [esi + 4]
dec edi
mov ebx, edi
and ebx, ecx
cmp dword [eax + ebx*4], 0
jne 0x100d5e00
push 0xc
call fcn.10148596
mov ecx, dword [esi + 4]
add esp, 4
mov dword [ecx + ebx*4], eax
mov eax, dword [esi + 4]
movq xmm0, qword [esp + 0x38]
mov ecx, dword [eax + ebx*4]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
inc dword [esi + 0x10]
mov dword [esi + 0xc], edi
mov eax, dword [ebx + 0x34]
cmp eax, 0x800
jbe 0x100d5e3a
add eax, 0xffffffff
mov dword [ebx + 0x34], eax
jne 0x100d5e3a
mov dword [ebx + 0x30], 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x24]
mov ecx, dword [0x102efe88]
cmp ecx, 0x44a
je 0x100d5e5a
test al, 1
jne 0x100d5e67
cmp ecx, 0x44a
jne 0x100d5e6b
test eax, 0xfffffffe
je 0x100d5e6b
cmp byte [ebx + 0x44], 0
je 0x100d5e6b
mov cl, 1
jmp 0x100d5e6d
xor cl, cl
and al, 1
mov byte [ebx + 0x44], al
test cl, cl
je 0x100d6316
mov edi, dword [0x10246268]
test edi, edi
je 0x100d6316
mov ecx, edi
call fcn.100a9ff0
mov ecx, edi
mov esi, eax
call fcn.100aa090
mov ecx, 0x10246288
mov dword [esp + 0x6c], 1
movss xmm0, dword [eax]
addss xmm0, dword [esi]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esi + 4]
addss xmm0, dword [eax + 4]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esi + 8]
addss xmm0, dword [eax + 8]
mov eax, dword [ebp + 0xc]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [eax + 0xc]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [eax + 0x10]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [eax + 0x14]
lea eax, [esp + 0x6c]
push eax
movss dword [esp + 0x80], xmm0
call fcn.101462a0
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], ecx
cmp ebx, ecx
je 0x100d6316
mov eax, ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x100d626e
call fcn.100a8ab0
cmp byte [eax], 0
jne 0x100d626a
mov ecx, dword [ebx]
call fcn.100a8e10
mov eax, dword [eax]
shr eax, 0xd
test al, 1
jne 0x100d626a
push 0x84
lea eax, [esp + 0xbc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebx]
add esp, 0xc
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [0x102efe50]
lea esi, [esp + 0xb8]
push esi
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
call edx
test al, al
jne 0x100d5fab
mov eax, dword [esp + 0x100]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
push eax
call fcn.100ab1d0
cmp dword [eax], 2
jl 0x100d626a
movss xmm0, dword [esp + 0x74]
mov eax, dword [ebx]
xor bl, bl
mov edi, dword [esp + 0x44]
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [esp + 0x78]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
movss dword [esp + 0xa4], xmm0
lea ecx, [edi + 0x58]
movss xmm0, dword [esp + 0x7c]
push eax
movss dword [esp + 0xac], xmm0
lea eax, [esp + 0xb4]
movss xmm0, dword [0x10234e74]
push eax
mov byte [esp + 0x1964], bl
movss dword [esp + 0x60], xmm0
call fcn.100b8cb0
mov esi, dword [eax]
mov dword [esp + 0x90], esi
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
add eax, edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x8c], eax
cmp edx, eax
je 0x100d6266
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
dec ecx
and ecx, edx
mov esi, dword [eax + ecx*4]
mov ecx, edi
push esi
call fcn.100d4a80
test al, al
je 0x100d6245
xor edi, edi
lea eax, [esi + 0x10]
mov ecx, dword [esp + 0x50]
push eax
push edi
lea eax, [esp + 0x9c]
push eax
call fcn.100d4360
movss xmm0, dword [esp + 0x84]
sub esp, 8
subss xmm0, dword [esp + 0xa0]
movss xmm3, dword [esp + 0x88]
subss xmm3, dword [esp + 0x9c]
movss xmm2, dword [esp + 0x90]
subss xmm2, dword [esp + 0xa4]
movaps xmm1, xmm0
movss dword [esp + 0x54], xmm0
mulss xmm1, xmm0
mov dword [esp + 0x40], 0
movaps xmm0, xmm3
mov dword [esp + 0x44], 0
mulss xmm0, xmm3
mov dword [esp + 0x48], 0
movss dword [esp + 0x5c], xmm3
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100ad960
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
movss dword [esp + 0x60], xmm2
fdivr dword [esp + 0x60]
fstp qword [esp + 0x60]
movsd xmm0, qword [esp + 0x60]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x10234dc0]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x4c]
divss xmm0, dword [esp + 0x54]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
mov dword [esp + 0x40], 0
xorps xmm1, xmm1
xorps xmm2, xmm2
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x10234dc0]
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x54]
comiss xmm0, xmm2
movss dword [esp + 0x3c], xmm1
jb 0x100d6172
addss xmm1, dword [0x10234eec]
movss dword [esp + 0x3c], xmm1
lea edx, [esp + 0x38]
lea ecx, [esp + 0xa0]
call fcn.100ada70
movss xmm1, dword [esp + 0x58]
comiss xmm1, xmm0
movss dword [esp + 0x4c], xmm0
jbe 0x100d6234
mov eax, dword [esi + 8]
movss xmm0, dword [esi]
movss xmm1, dword [esi + 4]
mov cl, byte [esi + 0xc]
mov dword [esp + 0x148], eax
lea eax, [esi + 0x10]
push 0x1800
push eax
lea eax, [esp + 0x158]
movss dword [esp + 0x148], xmm0
push eax
movss dword [esp + 0x150], xmm1
mov byte [esp + 0x158], cl
call sub.VCRUNTIME140.dll_memcpy
movss xmm0, dword [esi + 0x1810]
add esp, 0xc
movss dword [esp + 0x1950], xmm0
movss xmm0, dword [esi + 0x1814]
movss dword [esp + 0x1954], xmm0
movss xmm0, dword [esi + 0x1818]
movss dword [esp + 0x1958], xmm0
test bl, bl
je 0x100d621f
mov bl, byte [esp + 0x195c]
jmp 0x100d6228
mov bl, 1
mov byte [esp + 0x195c], bl
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x58], xmm0
inc edi
lea eax, [esi + 0x10]
cmp edi, 0x12
jl 0x100d6053
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x90]
inc edx
mov dword [esp + 0x5c], edx
cmp edx, dword [esp + 0x8c]
jne 0x100d6032
test bl, bl
jne 0x100d6290
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x34]
add ebx, 4
mov dword [esp + 0x48], ebx
cmp ebx, eax
jne 0x100d5f24
mov eax, dword [ebp + 8]
mov byte [eax + 0x181c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movss xmm0, dword [esp + 0x140]
lea eax, [esp + 0x150]
push 0x1800
push eax
lea eax, [esp + 0x1978]
movss dword [esp + 0x1968], xmm0
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x102efef8]
add esp, 0xc
movss xmm0, dword [edi + 0x54]
movss xmm2, dword [eax + 0x1c]
divss xmm0, xmm2
mov eax, dword [0x102f1050]
movaps xmm1, xmm2
imul eax, dword [0x102eff84]
mulss xmm1, dword [0x10234cb4]
addss xmm0, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x1960]
divss xmm0, xmm2
addss xmm0, xmm1
cvttss2si ecx, xmm0
add ecx, dword [0x102f1138]
add ecx, edx
add eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov byte [eax + 0x181c], 0
mov esp, ebp
pop ebp
ret 8