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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x3174
call fcn.1014a2f0
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x44], ebx
call fcn.100d4590
cmp byte [0x102f11bd], 0
je 0x100d61f6
mov eax, dword [0x102efe8c]
mov dword [0x102eff8c], 0
sub eax, 2
je 0x100d5c0f
sub eax, 1
jne 0x100d5c22
cmp dword [0x102f12a0], 2
je 0x100d5c18
jmp 0x100d5c22
cmp dword [0x102f13fc], 2
jne 0x100d5c22
mov dword [0x102eff8c], 1
mov ecx, dword [0x102f00e8]
test ecx, ecx
je 0x100d5c57
cmp byte [0x102f3a41], 0
jne 0x100d5c57
mov eax, dword [0x102f00e4]
cmp eax, dword [0x102f00ec]
jne 0x100d5c57
cmp byte [0x102effe0], 0
jne 0x100d5c57
mov eax, dword [0x102f00f0]
sub eax, ecx
mov dword [0x102eff8c], eax
mov ecx, dword [0x102efe60]
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
mov ecx, eax
test ecx, ecx
je 0x100d5d1a
mov eax, dword [ecx + 0xc]
cmp eax, dword [ebx + 0x3c]
jle 0x100d5d01
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 [0x102eff08]
movss xmm0, dword [eax]
mov eax, dword [esi + 0x10]
inc eax
movss dword [esp + 0x40], xmm0
cmp dword [esi + 8], eax
ja 0x100d5cb1
push ecx
mov ecx, esi
call fcn.100d67e0
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 0x100d5ce0
push 0xc
call fcn.10148486
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 0x100d5d1a
add eax, 0xffffffff
mov dword [ebx + 0x34], eax
jne 0x100d5d1a
mov dword [ebx + 0x30], 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x24]
mov ecx, dword [0x102efe98]
cmp ecx, 0x44a
je 0x100d5d3a
test al, 1
jne 0x100d5d47
cmp ecx, 0x44a
jne 0x100d5d4b
test eax, 0xfffffffe
je 0x100d5d4b
cmp byte [ebx + 0x44], 0
je 0x100d5d4b
mov cl, 1
jmp 0x100d5d4d
xor cl, cl
and al, 1
mov byte [ebx + 0x44], al
test cl, cl
je 0x100d61f6
mov edi, dword [0x10246268]
test edi, edi
je 0x100d61f6
mov ecx, edi
call fcn.100aa270
mov ecx, edi
mov esi, eax
call fcn.100aa310
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.10146190
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], ecx
cmp ebx, ecx
je 0x100d61f6
mov eax, ecx
mov ecx, dword [ebx]
test ecx, ecx
je 0x100d614e
call fcn.100a8d30
cmp byte [eax], 0
jne 0x100d614a
mov ecx, dword [ebx]
call fcn.100a9090
mov eax, dword [eax]
shr eax, 0xd
test al, 1
jne 0x100d614a
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 [0x102efe60]
lea esi, [esp + 0xb8]
push esi
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
call edx
test al, al
jne 0x100d5e8b
mov eax, dword [esp + 0x100]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
push eax
call fcn.100ab450
cmp dword [eax], 2
jl 0x100d614a
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 [0x10234e54]
push eax
mov byte [esp + 0x1964], bl
movss dword [esp + 0x60], xmm0
call fcn.100b8c60
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 0x100d6146
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.100d4960
test al, al
je 0x100d6125
xor edi, edi
lea eax, [esi + 0x10]
mov ecx, dword [esp + 0x50]
push eax
push edi
lea eax, [esp + 0x9c]
push eax
call fcn.100d4240
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.100adbe0
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 [0x10234da0]
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 [0x10234da0]
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x54]
comiss xmm0, xmm2
movss dword [esp + 0x3c], xmm1
jb 0x100d6052
addss xmm1, dword [0x10234ecc]
movss dword [esp + 0x3c], xmm1
lea edx, [esp + 0x38]
lea ecx, [esp + 0xa0]
call fcn.100adcf0
movss xmm1, dword [esp + 0x58]
comiss xmm1, xmm0
movss dword [esp + 0x4c], xmm0
jbe 0x100d6114
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 0x100d60ff
mov bl, byte [esp + 0x195c]
jmp 0x100d6108
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 0x100d5f33
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 0x100d5f12
test bl, bl
jne 0x100d6170
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x34]
add ebx, 4
mov dword [esp + 0x48], ebx
cmp ebx, eax
jne 0x100d5e04
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 [0x102eff08]
add esp, 0xc
movss xmm0, dword [edi + 0x54]
movss xmm2, dword [eax + 0x1c]
divss xmm0, xmm2
mov eax, dword [0x102f1060]
movaps xmm1, xmm2
imul eax, dword [0x102eff8c]
mulss xmm1, dword [0x10234c94]
addss xmm0, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x1960]
divss xmm0, xmm2
addss xmm0, xmm1
cvttss2si ecx, xmm0
add ecx, dword [0x102f1148]
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