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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1a8
mov eax, dword [0x10155368]
xor eax, esp
mov dword [esp + 0x1a4], eax
xor eax, eax
mov dword [esp + 0x10c], 0xf
xorps xmm0, xmm0
mov dword [esp + 0xc0], eax
push esi
xorps xmm1, xmm1
movq qword [esp + 0x100], xmm0
push edi
mov edi, ecx
movq qword [esp + 0x11c], xmm0
movups xmmword [esp + 0xb8], xmm1
mov word [esp + 0xb1], ax
lea ecx, [esp + 0xf4]
movups xmmword [esp + 0xe0], xmm0
mov byte [esp + 0xb3], al
movups xmmword [esp + 0xf0], xmm0
mov dword [esp + 0x10c], eax
movq xmm0, qword [esp + 0xc4]
movq qword [edi + 0x54], xmm0
mov dword [esp + 0x124], eax
mov byte [esp + 0xb0], al
mov dword [esp + 0xb4], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0x110], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x134], eax
mov dword [esp + 0x130], eax
mov byte [edi + 0x40], al
mov dword [edi + 0x44], eax
movq qword [edi + 0x48], xmm1
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], eax
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], eax
lea eax, [edi + 0x84]
psrldq xmm1, 8
mov dword [esp + 0x12c], 0xf
movd dword [edi + 0x50], xmm1
cmp eax, ecx
je 0x100ca4df
mov ecx, eax
call fcn.10049310
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
lea eax, [esp + 0x100]
push eax
lea ecx, [edi + 0x90]
call fcn.10044540
lea eax, [esp + 0x118]
push eax
lea ecx, [edi + 0xa8]
call fcn.10044540
movss xmm0, dword [esp + 0x130]
lea ecx, [esp + 0xb0]
movss dword [edi + 0xc0], xmm0
movss xmm0, dword [esp + 0x134]
movss dword [edi + 0xc4], xmm0
call fcn.1005f330
cmp byte [0x101d08f8], 0
je 0x100cb468
cmp byte [0x101cb8a9], 0
je 0x100cb468
mov eax, dword [0x101cba5c]
mov dword [esp + 0xc], eax
test eax, eax
je 0x100cb468
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101cc0d8]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x101d3a1c]
mov dword [esp + 0x18], esi
cmp eax, dword [esi + 4]
jle 0x100ca5ab
push 0x101d3a1c
call fcn.100d2315
add esp, 4
cmp dword [0x101d3a1c], 0xffffffff
jne 0x100ca5ab
mov eax, dword [0x101d3a28]
push 0x101d3a1c
mov dword [0x101d3a24], eax
call fcn.100d22cb
add esp, 4
mov eax, dword [0x101d3a24]
mov ecx, dword [esp + 0xc]
movzx eax, word [ecx + eax]
add eax, 0xffffffd5
cmp ax, 5
ja 0x100cb468
mov eax, dword [0x101cba5c]
mov dword [esp + 0xc], eax
mov eax, dword [0x101d3db8]
cmp eax, dword [esi + 4]
jle 0x100ca608
push 0x101d3db8
call fcn.100d2315
add esp, 4
cmp dword [0x101d3db8], 0xffffffff
jne 0x100ca608
mov eax, dword [0x101d3b90]
push 0x101d3db8
mov dword [0x101d3d9c], eax
call fcn.100d22cb
add esp, 4
mov eax, dword [0x101d3d9c]
mov ecx, dword [esp + 0xc]
cmp byte [ecx + eax], 0
jne 0x100ca679
mov eax, dword [0x101cba5c]
mov dword [esp + 0xc], eax
mov eax, dword [0x101d3d60]
cmp eax, dword [esi + 4]
jle 0x100ca65a
push 0x101d3d60
call fcn.100d2315
add esp, 4
cmp dword [0x101d3d60], 0xffffffff
jne 0x100ca65a
mov eax, dword [0x101d3c78]
push 0x101d3d60
mov dword [0x101d3d44], eax
call fcn.100d22cb
add esp, 4
mov eax, dword [0x101d3d44]
mov ecx, dword [esp + 0xc]
movss xmm0, dword [ecx + eax]
ucomiss xmm0, dword [0x10150124]
lahf
test ah, 0x44
jnp 0x100cb468
cmp dword [0x101cba60], 0
je 0x100cb468
mov eax, dword [0x101cba58]
mov dword [edi + 0x44], eax
mov eax, dword [0x101cba5c]
mov dword [esp + 0xc], eax
mov eax, dword [0x101d3a1c]
cmp eax, dword [esi + 4]
jle 0x100ca6d1
push 0x101d3a1c
call fcn.100d2315
add esp, 4
cmp dword [0x101d3a1c], 0xffffffff
jne 0x100ca6d1
mov eax, dword [0x101d3a28]
push 0x101d3a1c
mov dword [0x101d3a24], eax
call fcn.100d22cb
add esp, 4
mov eax, dword [0x101d3a24]
lea edx, [esp + 0x68]
mov ecx, dword [esp + 0xc]
push edx
movsx eax, word [ecx + eax]
mov ecx, dword [0x101cc18c]
mov dword [edi + 0x70], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [0x10150554]
movss xmm1, dword [esp + 0x68]
comiss xmm0, xmm1
movss xmm2, dword [0x101503f8]
jbe 0x100ca730
addss xmm1, dword [0x10150484]
jmp 0x100ca73d
comiss xmm1, xmm2
jbe 0x100ca73d
subss xmm1, dword [0x10150484]
movaps xmm0, xmm1
andps xmm0, xmmword [0x10150aa0]
subss xmm2, xmm0
mulss xmm2, dword [0x101501a4]
subss xmm1, xmm2
movss dword [esp + 0x68], xmm1
mulss xmm1, dword [0x10150170]
movaps xmm0, xmm1
call fcn.1012a740
movaps xmm1, xmm0
shufps xmm0, xmm1, 1
movups xmmword [esp + 0x40], xmm1
movss xmm1, dword [esp + 0x6c]
mulss xmm1, dword [0x10150170]
movaps xmmword [esp + 0x30], xmm0
movaps xmm0, xmm1
call fcn.1012a740
movaps xmm1, xmmword [esp + 0x30]
movaps xmm6, xmm0
movups xmm7, xmmword [esp + 0x40]
mov eax, dword [0x101cba5c]
movaps xmm5, xmm6
mov dword [esp + 0xc], eax
xorps xmm7, xmmword [0x10150ac0]
mov eax, dword [0x101d5b3c]
shufps xmm5, xmm6, 1
mulss xmm5, xmm1
mulss xmm6, xmm1
movups xmmword [esp + 0x30], xmm5
movups xmmword [esp + 0x80], xmm6
movups xmmword [esp + 0x40], xmm7
cmp eax, dword [esi + 4]
jle 0x100ca81e
push 0x101d5b3c
call fcn.100d2315
add esp, 4
cmp dword [0x101d5b3c], 0xffffffff
jne 0x100ca80c
mov eax, dword [0x101d3b88]
push 0x101d5b3c
mov dword [0x101d5b2c], eax
call fcn.100d22cb
add esp, 4
movups xmm7, xmmword [esp + 0x40]
movups xmm6, xmmword [esp + 0x80]
movups xmm5, xmmword [esp + 0x30]
mov eax, dword [0x101d5b2c]
mov ecx, dword [esp + 0xc]
movss xmm0, dword [0x10150278]
movss xmm4, dword [eax + ecx]
comiss xmm4, xmm0
movss dword [esp + 0x1c], xmm4
jbe 0x100ca844
movaps xmm4, xmm0
jmp 0x100ca84f
xorps xmm0, xmm0
comiss xmm0, xmm4
jbe 0x100ca855
xorps xmm4, xmm4
movss dword [esp + 0x1c], xmm4
movq xmm0, qword [0x101cb90c]
movss xmm1, dword [0x10150364]
movq qword [esp + 0x20], xmm0
xorps xmm0, xmm0
movss xmm2, dword [esp + 0x20]
mov eax, dword [0x101cb914]
movss xmm3, dword [esp + 0x24]
mulss xmm4, dword [0x1015032c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x150]
movups xmmword [esp + 0x150], xmm0
push eax
subss xmm4, dword [0x1015032c]
movups xmmword [esp + 0x164], xmm0
push 0
movaps xmm0, xmm5
movss dword [esp + 0xa0], xmm2
push dword [0x101cba58]
addss xmm4, dword [esp + 0x34]
mulss xmm0, xmm1
lea eax, [esp + 0x2c]
push 0x208400b
push eax
lea eax, [esp + 0x64]
movss dword [esp + 0xb0], xmm3
addss xmm0, xmm2
movss dword [esp + 0xb4], xmm4
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x188], 0
push eax
lea eax, [esp + 0xb4]
mov dword [esp + 0x3c], 0x40000000
movss dword [esp + 0x78], xmm0
movaps xmm0, xmm6
mulss xmm0, xmm1
push eax
mov dword [esp + 0x44], 0x40000000
mov dword [esp + 0x48], 0x40000000
addss xmm0, xmm3
mov dword [esp + 0x70], 0xc0000000
mov dword [esp + 0x74], 0xc0000000
mov dword [esp + 0x78], 0xc0000000
movss dword [esp + 0x80], xmm0
movaps xmm0, xmm7
mulss xmm0, xmm1
addss xmm0, xmm4
movss dword [esp + 0x84], xmm0
call fcn.10056210
mov ecx, dword [0x101d5b38]
mov eax, dword [0x101cba58]
mov dword [esp + 0xc], eax
cmp ecx, dword [esi + 4]
jle 0x100caa55
push 0x101d5b38
call fcn.100d2315
mov ecx, dword [0x101d5b38]
add esp, 4
cmp ecx, 0xffffffff
jne 0x100caa55
lea eax, [esp + 0x138]
mov ecx, 0x101cb550
push eax
call fcn.10048b90
mov ecx, dword [esp + 0xc]
lea esi, [esp + 0x138]
cmp dword [esp + 0x14c], 0x10
cmovae esi, dword [esp + 0x138]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
mov edx, esi
mov ecx, eax
call fcn.10056ba0
mov edx, dword [esp + 0x14c]
mov dword [0x101d5b30], eax
cmp edx, 0x10
jb 0x100caa20
mov ecx, dword [esp + 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100caa16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100caa16
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100d273a
add esp, 8
push 0x101d5b38
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0xf
mov byte [esp + 0x13c], 0
call fcn.100d22cb
mov ecx, dword [0x101d5b38]
add esp, 4
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov eax, dword [0x101d5b30]
movq xmm0, qword [eax + edx]
mov eax, dword [eax + edx + 8]
mov dword [esp + 0x28], eax
mov eax, dword [0x101cba58]
movq qword [esp + 0x20], xmm0
mov dword [esp + 0xc], eax
cmp ecx, dword [esi + 4]
jle 0x100cab2d
push 0x101d5b38
call fcn.100d2315
add esp, 4
cmp dword [0x101d5b38], 0xffffffff
jne 0x100cab2d
lea eax, [esp + 0x98]
mov ecx, 0x101cb550
push eax
call fcn.10048b90
mov ecx, dword [esp + 0xc]
lea esi, [esp + 0x98]
cmp dword [esp + 0xac], 0x10
cmovae esi, dword [esp + 0x98]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
mov edx, esi
mov ecx, eax
call fcn.10056ba0
mov edx, dword [esp + 0xac]
mov dword [0x101d5b30], eax
cmp edx, 0x10
jb 0x100cab20
mov ecx, dword [esp + 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100cab16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100cab16
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100d273a
add esp, 8
push 0x101d5b38
call fcn.100d22cb
add esp, 4
mov eax, dword [0x101d5b30]
mov ecx, dword [esp + 0xc]
movss xmm0, dword [ecx + eax + 4]
movss xmm1, dword [ecx + eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [0x10150404]
comiss xmm0, xmm1
jbe 0x100cab65
xorps xmm0, xmm0
xorps xmm3, xmm3
xorps xmm7, xmm7
jmp 0x100cab77
movss xmm0, dword [esp + 0x28]
movss xmm7, dword [esp + 0x24]
movss xmm3, dword [esp + 0x20]
mov eax, dword [0x101cc118]
movss xmm1, dword [0x101504bc]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 0x10]
mov eax, dword [0x101cba60]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [eax + 0x10c]
mulss xmm0, dword [0x10150268]
comiss xmm0, xmm1
ja 0x100cabbf
movss xmm1, dword [0x10150344]
comiss xmm1, xmm0
ja 0x100cabbf
movaps xmm1, xmm0
movss xmm2, dword [esp + 0x1c]
lea esi, [edi + 0x48]
mulss xmm2, dword [0x10150244]
mov ecx, dword [0x101cc118]
movups xmm5, xmmword [esp + 0x30]
add ecx, 0x20
mov dword [edi + 0x64], 0xd
addss xmm2, dword [0x101501f0]
movups xmm6, xmmword [esp + 0x80]
movaps xmm4, xmm5
mulss xmm2, xmm1
movss xmm1, dword [0x10150294]
mulss xmm3, xmm1
mulss xmm4, xmm2
mulss xmm7, xmm1
addss xmm4, xmm3
movaps xmm3, xmm6
mulss xmm3, xmm2
addss xmm3, xmm7
movups xmm7, xmmword [esp + 0x40]
movaps xmm0, xmm7
mulss xmm0, xmm2
movss xmm2, dword [esp + 0xc]
mulss xmm2, xmm1
movss xmm1, dword [esp + 0x160]
unpcklps xmm4, xmm3
addss xmm0, xmm2
movq qword [edi + 0x54], xmm4
movss xmm2, dword [esp + 0x15c]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [0x10150308]
mulss xmm5, xmm0
mulss xmm6, xmm0
mulss xmm7, xmm0
subss xmm2, xmm5
movss xmm0, dword [esp + 0x164]
subss xmm1, xmm6
subss xmm0, xmm7
unpcklps xmm2, xmm1
movq qword [esi], xmm2
movss dword [esp + 0x48], xmm0
mov eax, dword [esp + 0x48]
movss xmm0, dword [0x10150180]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x5c], eax
divss xmm0, dword [ecx]
movss xmm1, dword [0x10150228]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x1c], eax
neg eax
mov dword [edi + 0x7c], eax
mov eax, dword [edi + 0x70]
add eax, 0xffffffd5
cmp eax, 5
ja case.default.0x100caccd
jmp dword [eax*4 + 0x100cb47c]
movss xmm0, dword [0x101502a0]
divss xmm0, dword [ecx]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [edi + 0x78], eax
movss xmm2, dword [0x10150228]
movss xmm1, dword [ecx]
movss xmm0, dword [0x101503d8]
divss xmm0, xmm1
mov ecx, dword [edi + 0x74]
addss xmm0, xmm2
cvttss2si eax, xmm0
cmp ecx, eax
jge 0x100cb403
fld dword [0x10150218]
mov edx, ecx
fstp dword [esp + 0x74]
movss xmm4, dword [0x10150184]
movss xmm3, dword [0x10150168]
cmp dword [edi + 0x78], edx
jg 0x100caf13
mov eax, dword [edi + 0x70]
add eax, 0xffffffd5
cmp eax, 5
ja case.default.0x100cad4a
jmp dword [eax*4 + 0x100cb494]
movss xmm0, dword [0x10150278]
divss xmm0, dword [ecx]
addss xmm0, xmm0
jmp 0x100cace0
movss xmm0, dword [0x10150174]
mov dword [edi + 0x68], 0x3fc00000
jmp 0x100cacdc
mov ecx, dword [0x101cc204]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
mov ecx, dword [0x101cc118]
movss xmm0, dword [0x10150174]
add ecx, 0x20
fstp dword [edi + 0x68]
movss xmm2, dword [0x10150228]
divss xmm0, dword [ecx]
addss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [edi + 0x78], eax
jmp 0x100cacf3
movss xmm1, dword [edi + 0x58]
movss xmm2, dword [edi + 0x54]
movss xmm0, dword [edi + 0x5c]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
comiss xmm3, xmm2
jb case.default.0x100cad4a
lea ecx, [edi + 0x84]
mov byte [edi + 0x40], 1
mov dword [edi + 0x7c], edx
mov edx, dword [ecx + 4]
mov byte [esp + 0x11], 0
cmp edx, dword [ecx + 8]
je 0x100cae21
movq xmm0, qword [esi]
movq qword [edx], xmm0
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
mov al, byte [esp + 0x11]
mov byte [edx + 0xc], al
add dword [ecx + 4], 0x10
jmp case.default.0x100cad4a
lea eax, [esp + 0x11]
jmp 0x100caedb
movss xmm1, dword [edi + 0x58]
movss xmm2, dword [edi + 0x54]
movss xmm0, dword [edi + 0x5c]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
comiss xmm4, xmm2
jb case.default.0x100cad4a
lea ecx, [edi + 0x84]
mov byte [edi + 0x40], 1
mov dword [edi + 0x7c], edx
mov edx, dword [ecx + 4]
mov byte [esp + 0x12], 0
cmp edx, dword [ecx + 8]
je 0x100cae8b
movq xmm0, qword [esi]
movq qword [edx], xmm0
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
mov al, byte [esp + 0x12]
mov byte [edx + 0xc], al
add dword [ecx + 4], 0x10
jmp case.default.0x100cad4a
lea eax, [esp + 0x12]
jmp 0x100caedb
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
comiss xmm0, dword [edi + 0x68]
jbe case.default.0x100cad4a
lea ecx, [edi + 0x84]
mov byte [edi + 0x40], 1
mov dword [edi + 0x7c], edx
mov edx, dword [ecx + 4]
mov byte [esp + 0x13], 0
cmp edx, dword [ecx + 8]
je 0x100caed7
movq xmm0, qword [esi]
movq qword [edx], xmm0
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
mov al, byte [esp + 0x13]
mov byte [edx + 0xc], al
add dword [ecx + 4], 0x10
jmp case.default.0x100cad4a
lea eax, [esp + 0x13]
push eax
push esi
push edx
call fcn.100b2190
mov eax, dword [0x101cc118]
movss xmm0, dword [0x101501d8]
mov ecx, dword [edi + 0x74]
mov edx, ecx
movss xmm2, dword [0x10150228]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x10150228]
cvttss2si eax, xmm0
add eax, ecx
mov dword [edi + 0x78], eax
test edx, edx
js 0x100cb3d0
cmp byte [edi + 0x40], 0
jne 0x100cb403
mov ecx, dword [0x101cc1d0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
fmul dword [esp + 0x74]
mov edx, 0x8400b
mov eax, dword [0x101cc118]
mov ecx, 0x4208608b
movss xmm2, dword [edi + 0x5c]
mov dword [esp + 0x98], 0x40000000
mov dword [esp + 0x9c], 0x40000000
movss xmm3, dword [eax + 0x20]
mov eax, dword [edi + 0x64]
movaps xmm5, xmm3
mulss xmm5, dword [edi + 0x54]
cmp eax, 1
mov dword [esp + 0xd0], 0
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
movaps xmm6, xmm3
mulss xmm6, dword [edi + 0x58]
cmove ecx, edx
lea edx, [esp + 0xb0]
mov dword [esp + 0xc], ecx
mulss xmm0, xmm3
push edx
push eax
push dword [edi + 0x44]
subss xmm2, xmm0
movss dword [esp + 0x24], xmm5
xorps xmm0, xmm0
movss dword [esp + 0x84], xmm6
movups xmmword [esp + 0xbc], xmm0
push ecx
movups xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xb0], 0x40000000
lea eax, [esp + 0xa8]
movaps xmm4, xmm2
mov dword [esp + 0x6c], 0xc0000000
addss xmm4, dword [edi + 0x5c]
movss dword [edi + 0x5c], xmm2
movaps xmm0, xmm5
addss xmm0, dword [esi]
push eax
lea eax, [esp + 0x70]
mov dword [esp + 0x74], 0xc0000000
mulss xmm4, dword [0x10150228]
push eax
movss dword [esp + 0x38], xmm0
lea eax, [esp + 0x38]
movaps xmm0, xmm6
mov dword [esp + 0x7c], 0xc0000000
addss xmm0, dword [esi + 4]
mulss xmm4, xmm3
push eax
push esi
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm4
addss xmm0, dword [esi + 8]
movss dword [esp + 0x4c], xmm4
movss dword [esp + 0x48], xmm0
call fcn.10056210
cmp byte [esp + 0xe7], 0
je 0x100cb109
test dword [esp + 0xe0], 0x80000
je 0x100cb109
push 0x54
lea eax, [esp + 0xb4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0xdc], 0x3f800000
lea eax, [esp + 0xb0]
mov dword [esp + 0xec], str.empty
mov dword [esp + 0x50], 0x40000000
mov dword [esp + 0x54], 0x40000000
push eax
push dword [edi + 0x64]
mov eax, dword [esp + 0x14]
push dword [edi + 0x44]
and eax, 0xfff7ffff
mov dword [esp + 0x64], 0x40000000
push eax
lea eax, [esp + 0x60]
mov dword [esp + 0x90], 0xc0000000
push eax
lea eax, [esp + 0x94]
mov dword [esp + 0x98], 0xc0000000
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0xa0], 0xc0000000
push eax
push esi
call fcn.10056210
movss xmm0, dword [0x10150278]
comiss xmm0, dword [esp + 0xdc]
ja 0x100cb133
cmp byte [esp + 0xe6], 0
jne 0x100cb133
cmp byte [esp + 0xe7], 0
je 0x100cb235
mov ecx, dword [esp + 0xfc]
test ecx, ecx
je 0x100cb19a
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100cb193
push 0x54
lea eax, [esp + 0xb4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0xdc], 0x3f800000
lea eax, [esp + 0xb0]
mov dword [esp + 0xec], str.empty
push eax
push dword [edi + 0x64]
lea eax, [esp + 0x28]
push dword [edi + 0x44]
push dword [esp + 0x18]
push eax
push esi
call fcn.10056120
mov ecx, dword [esp + 0xfc]
cmp byte [esp + 0xe7], 0
je 0x100cb23c
mov dword [edi + 0x64], 3
lea eax, [esp + 0xb0]
movss xmm3, dword [esi]
movss xmm2, dword [esi + 4]
movaps xmm0, xmm3
addss xmm0, dword [esp + 0x18]
movss xmm1, dword [esi + 8]
subss xmm3, dword [esp + 0x18]
push eax
push 3
push dword [edi + 0x44]
movss dword [esp + 0x3c], xmm0
lea eax, [esp + 0x3c]
movaps xmm0, xmm2
movss dword [esp + 0x4c], xmm3
addss xmm0, dword [esp + 0x84]
subss xmm2, dword [esp + 0x84]
push 0x8400b
push eax
lea eax, [esp + 0x54]
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x40]
subss xmm1, dword [esp + 0x40]
push eax
movss dword [esp + 0x5c], xmm2
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x60], xmm1
call fcn.10056120
mov ecx, dword [esp + 0xfc]
movss xmm0, dword [esp + 0xdc]
ucomiss xmm0, dword [0x10150124]
lahf
test ah, 0x44
jnp 0x100cb269
movq xmm0, qword [esp + 0xbc]
mov eax, dword [esp + 0xc4]
movq qword [esi], xmm0
mov dword [esi + 8], eax
test ecx, ecx
je 0x100cb30d
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
jne 0x100cb30d
mov eax, dword [edi + 0x70]
cmp eax, 0x44
je 0x100cb2c9
cmp eax, 0x2e
je 0x100cb295
cmp eax, 0x30
jne 0x100cb30d
mov ecx, dword [0x101cc228]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x2c], eax
call dword [esp + 0x2c]
fstp dword [esp + 0x2c]
movss xmm0, dword [esp + 0x2c]
mulss xmm0, dword [0x10150170]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_cosf
comiss xmm0, dword [esp + 0xd0]
ja 0x100cb30d
mov eax, dword [edi + 0x74]
lea ecx, [edi + 0x84]
mov byte [edi + 0x40], 1
mov dword [edi + 0x7c], eax
mov edx, dword [ecx + 4]
mov byte [esp + 0x14], 1
cmp edx, dword [ecx + 8]
je 0x100cb301
movq xmm0, qword [esi]
movq qword [edx], xmm0
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
mov al, byte [esp + 0x14]
mov byte [edx + 0xc], al
add dword [ecx + 4], 0x10
jmp 0x100cb30d
lea eax, [esp + 0x14]
push eax
push esi
push edx
call fcn.100b2190
cmp byte [edi + 0x40], 0
jne 0x100cb400
movss xmm0, dword [esp + 0xdc]
ucomiss xmm0, dword [0x10150278]
lahf
test ah, 0x44
jnp 0x100cb37d
mov eax, dword [edi + 0x74]
lea ecx, [edi + 0x84]
mov dword [edi + 0x7c], eax
mov edx, dword [ecx + 4]
mov byte [esp + 0x15], 1
cmp edx, dword [ecx + 8]
je 0x100cb361
movq xmm0, qword [esi]
movq qword [edx], xmm0
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
mov al, byte [esp + 0x15]
mov byte [edx + 0xc], al
add dword [ecx + 4], 0x10
jmp 0x100cb36d
lea eax, [esp + 0x15]
push eax
push esi
push edx
call fcn.100b2190
lea eax, [esp + 0xb0]
push eax
lea ecx, [edi + 0x40]
call fcn.100c93f0
mov eax, dword [edi + 0x7c]
add eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x74]
cmp eax, ecx
jg 0x100cb3c8
mov dword [edi + 0x7c], ecx
lea ecx, [edi + 0x84]
mov edx, dword [ecx + 4]
mov byte [esp + 0x16], 0
cmp edx, dword [ecx + 8]
je 0x100cb3bc
movq xmm0, qword [esi]
movq qword [edx], xmm0
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
mov al, byte [esp + 0x16]
mov byte [edx + 0xc], al
add dword [ecx + 4], 0x10
jmp 0x100cb3c8
lea eax, [esp + 0x16]
push eax
push esi
push edx
call fcn.100b2190
movss xmm2, dword [0x10150228]
mov ecx, dword [edi + 0x74]
mov eax, dword [0x101cc118]
inc ecx
movss xmm0, dword [0x101503d8]
mov edx, ecx
mov dword [edi + 0x74], ecx
movss xmm1, dword [eax + 0x20]
divss xmm0, xmm1
addss xmm0, xmm2
cvttss2si eax, xmm0
cmp edx, eax
jge 0x100cb403
jmp 0x100cad22
mov ecx, dword [edi + 0x74]
mov eax, dword [edi + 0x7c]
add eax, dword [esp + 0x1c]
cmp eax, ecx
jg 0x100cb44b
mov dword [edi + 0x7c], ecx
lea ecx, [edi + 0x84]
mov edx, dword [ecx + 4]
mov byte [esp + 0x17], 0
cmp edx, dword [ecx + 8]
je 0x100cb43f
movq xmm0, qword [esi]
movq qword [edx], xmm0
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
mov al, byte [esp + 0x17]
mov byte [edx + 0xc], al
add dword [ecx + 4], 0x10
jmp 0x100cb44b
lea eax, [esp + 0x17]
push eax
push esi
push edx
call fcn.100b2190
movd xmm0, dword [edi + 0x74]
mov eax, dword [0x101cc118]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
addss xmm0, dword [esp + 0x7c]
movss dword [edi + 0x6c], xmm0
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
xor ecx, esp
call fcn.100d21f8
mov esp, ebp
pop ebp
ret