Function at 0x100ed4b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015aab0
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x1022a800]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp + 8]
lea edx, [ecx + 4]
mov dword [ebp - 0x78], ecx
push 0x8c
push 0
mov eax, dword [eax]
push edx
mov dword [ebp - 0xdc], edx
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ecx + 4]
movss xmm0, dword [eax]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [ecx + 0x10]
movss dword [ebp - 0x78], xmm0
mov edi, dword [eax]
mov eax, dword [ecx + 0x14]
mov esi, dword [eax]
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x7c]
xorps xmm0, xmm0
lea ecx, [edx + 0xc]
mov word [edx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
mov dword [edx + 0x30], 0
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 0
mov dword [edx + 0x40], 0
mov dword [edx + 0x24], 0
mov dword [edx + 0x44], 0
mov dword [edx + 0x48], 0
mov dword [edx + 0x4c], 0
mov dword [edx + 0x50], 0
movups xmmword [edx + 0x54], xmm0
mov dword [edx + 0x64], 0
mov dword [edx + 0x68], 0xf
mov byte [edx + 0x54], 0
movups xmmword [edx + 0x6c], xmm0
mov dword [edx + 0x7c], 0
mov dword [edx + 0x80], 0xf
mov byte [edx + 0x6c], 0
mov dword [edx + 0x84], 0
mov dword [edx + 0x8c], 0
mov dword [edx + 0x88], 0
mov eax, dword [ebp - 0x74]
add esp, 8
mov dword [edx + 8], esi
lea esi, [edx + 4]
mov dword [esi + 0x30], edi
mov dword [ebp - 4], 0
movq xmm0, qword [eax]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x6c]
movq xmm0, qword [eax]
movq qword [esi + 0x14], xmm0
movss xmm0, dword [0x10166760]
divss xmm0, dword [0x1016abe0]
mov eax, dword [eax + 8]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], 0xd
movss dword [esp], xmm0
call fcn.100653a0
add esp, 4
mov dword [ebp - 0x74], eax
neg eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x30]
add eax, 0xffffffd5
cmp eax, 5
ja case.default.0x100ed670
jmp dword [eax*4 + 0x100edcfc]
push ecx
mov dword [esp], 0x3fc00000
jmp 0x100ed6ba
push ecx
mov dword [esp], 0x40000000
jmp 0x100ed6ba
mov dword [esi + 0x28], 0x3fc00000
jmp 0x100ed6b2
mov ecx, dword [0x1022b754]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x6c], eax
call dword [ebp - 0x6c]
fstp dword [ebp - 0x6c]
movss xmm0, dword [ebp - 0x6c]
movss dword [esi + 0x28], xmm0
push ecx
mov dword [esp], 0x3ca3d70a
call fcn.100653a0
mov dword [esi + 0x38], eax
add esp, 4
mov edi, dword [esi + 0x34]
push ecx
mov dword [esp], 0x42700000
call fcn.100653a0
add esp, 4
cmp edi, eax
jge 0x100edc86
cmp dword [esi + 0x38], edi
jg 0x100ed7da
mov eax, dword [esi + 0x30]
add eax, 0xffffffd5
cmp eax, 5
ja case.default.0x100ed6f8
jmp dword [eax*4 + 0x100edd14]
movss xmm1, dword [esi + 0x18]
movss xmm2, dword [esi + 0x14]
movss xmm0, dword [esi + 0x1c]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
movss xmm0, dword [0x1016ab90]
comiss xmm0, xmm2
jb case.default.0x100ed6f8
mov dword [esi + 0x3c], edi
jmp 0x100ed78a
movss xmm0, dword [esi + 0x14]
movss xmm2, dword [esi + 0x18]
movss xmm1, dword [esi + 0x1c]
mulss xmm2, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm2, xmm0
movss xmm0, dword [0x10166718]
addss xmm2, xmm1
comiss xmm0, xmm2
jb case.default.0x100ed6f8
mov dword [esi + 0x3c], edi
jmp 0x100ed78a
push edi
call fcn.10065380
fstp dword [ebp - 0x6c]
movss xmm0, dword [ebp - 0x6c]
add esp, 4
comiss xmm0, dword [esi + 0x28]
jbe case.default.0x100ed6f8
mov eax, dword [esi + 0x34]
mov dword [esi + 0x3c], eax
lea ecx, [esi + 0x44]
mov byte [esi], 1
mov edx, dword [ecx + 4]
lea eax, [esi + 8]
mov byte [ebp - 0x65], 0
cmp edx, dword [ecx + 8]
je 0x100ed7b7
movq xmm0, qword [eax]
movq qword [edx], xmm0
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
mov byte [edx + 0xc], 0
add dword [ecx + 4], 0x10
jmp case.default.0x100ed6f8
lea edi, [ebp - 0x65]
push edi
push eax
push edx
call fcn.100cb000
mov edi, dword [esi + 0x34]
push ecx
mov dword [esp], 0x3e4ccccd
call fcn.100653a0
add esp, 4
add eax, edi
mov dword [esi + 0x38], eax
cmp edi, dword [ebp - 0x80]
jl 0x100edc65
cmp byte [esi], 0
jne 0x100edc86
mov ecx, dword [0x1022b71c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x6c], eax
call dword [ebp - 0x6c]
mov eax, dword [0x1022b620]
mov ecx, 0x8400b
movss xmm1, dword [esi + 0x1c]
mov edi, 0x4208608b
fstp dword [ebp - 0x6c]
movss xmm0, dword [ebp - 0x6c]
mulss xmm0, dword [0x10166734]
mov dword [ebp - 0x9c], 0x40000000
movss xmm4, dword [esi + 0x18]
mulss xmm4, dword [eax + 0x20]
mov dword [ebp - 0x98], 0x40000000
mulss xmm0, dword [eax + 0x20]
mov dword [ebp - 0x94], 0x40000000
movss xmm2, dword [esi + 0x14]
mulss xmm2, dword [eax + 0x20]
mov dword [ebp - 0xa8], 0xc0000000
subss xmm1, xmm0
movss dword [ebp - 0x84], xmm4
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 0xc0000000
movss dword [ebp - 0x6c], xmm2
mov dword [ebp - 0xa0], 0xc0000000
movaps xmm3, xmm1
addss xmm3, dword [esi + 0x1c]
divss xmm3, dword [0x10166770]
mulss xmm3, dword [eax + 0x20]
mov eax, dword [esi + 0x24]
cmp eax, 1
movss dword [esi + 0x1c], xmm1
movaps xmm1, xmm4
addss xmm2, dword [esi + 8]
addss xmm1, dword [esi + 0xc]
cmove edi, ecx
movss dword [ebp - 0x70], xmm3
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x44], 0
push ecx
mov ecx, dword [0x1022b640]
push eax
push dword [esi + 4]
lea eax, [ebp - 0x9c]
movss dword [ebp - 0x90], xmm2
push edi
push eax
movups xmmword [ebp - 0x64], xmm0
lea eax, [ebp - 0xa8]
movups xmmword [ebp - 0x54], xmm0
push eax
movaps xmm0, xmm3
movss dword [ebp - 0x8c], xmm1
addss xmm0, dword [esi + 0x10]
lea eax, [ebp - 0x90]
push eax
lea eax, [esi + 8]
push eax
movss dword [ebp - 0x88], xmm0
call fcn.1005ec30
cmp byte [ebp - 0x2d], 0
je 0x100ed9c2
test dword [ebp - 0x34], 0x80000
je 0x100ed9c2
push 0x54
lea eax, [ebp - 0x64]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, dword [0x1022b640]
lea eax, [ebp - 0x64]
mov dword [ebp - 0x38], 0x3f800000
mov dword [ebp - 0x28], str.empty
mov dword [ebp - 0xb4], 0x40000000
push eax
push dword [esi + 0x24]
mov eax, edi
mov dword [ebp - 0xb0], 0x40000000
push dword [esi + 4]
and eax, 0xfff7ffff
mov dword [ebp - 0xac], 0x40000000
push eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xc0], 0xc0000000
push eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xbc], 0xc0000000
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0xb8], 0xc0000000
push eax
lea eax, [esi + 8]
push eax
call fcn.1005ec30
movss xmm0, dword [0x10166760]
comiss xmm0, dword [ebp - 0x38]
ja 0x100ed9e0
cmp byte [ebp - 0x2e], 0
jne 0x100ed9e0
cmp byte [ebp - 0x2d], 0
je 0x100edae1
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100eda37
mov eax, dword [ecx]
mov eax, dword [eax + 0x278]
call eax
test al, al
je 0x100eda34
push 0x54
lea eax, [ebp - 0x64]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x1022b640]
lea eax, [ebp - 0x64]
add esp, 0xc
mov dword [ebp - 0x38], 0x3f800000
mov dword [ebp - 0x28], str.empty
push eax
push dword [esi + 0x24]
lea eax, [ebp - 0x90]
push dword [esi + 4]
push edi
push eax
lea eax, [esi + 8]
push eax
call fcn.1005ed00
mov ecx, dword [ebp - 0x18]
cmp byte [ebp - 0x2d], 0
je 0x100edae4
movss xmm2, dword [ebp - 0x6c]
lea eax, [ebp - 0x64]
movss xmm1, dword [ebp - 0x84]
movss xmm0, dword [ebp - 0x70]
mov dword [esi + 0x24], 3
addss xmm2, dword [esi + 8]
addss xmm1, dword [esi + 0xc]
addss xmm0, dword [esi + 0x10]
mov ecx, dword [0x1022b640]
push eax
push 3
push dword [esi + 4]
movss dword [ebp - 0xcc], xmm2
lea eax, [ebp - 0xcc]
movss xmm2, dword [esi + 8]
subss xmm2, dword [ebp - 0x6c]
movss dword [ebp - 0xc8], xmm1
movss xmm1, dword [esi + 0xc]
subss xmm1, dword [ebp - 0x84]
movss dword [ebp - 0xc4], xmm0
movss xmm0, dword [esi + 0x10]
subss xmm0, dword [ebp - 0x70]
push 0x8400b
push eax
lea eax, [ebp - 0xd8]
movss dword [ebp - 0xd8], xmm2
push eax
movss dword [ebp - 0xd4], xmm1
movss dword [ebp - 0xd0], xmm0
call fcn.1005ed00
mov ecx, dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x38]
ucomiss xmm0, dword [0x10166708]
lahf
test ah, 0x44
jnp 0x100edb06
movq xmm0, qword [ebp - 0x58]
mov eax, dword [ebp - 0x50]
movq qword [esi + 8], xmm0
mov dword [esi + 0x10], eax
test ecx, ecx
je 0x100edbbf
mov eax, dword [ecx]
mov eax, dword [eax + 0x278]
call eax
test al, al
jne 0x100edbbf
mov eax, dword [esi + 0x30]
cmp eax, 0x44
je 0x100edb81
cmp eax, 0x2e
je 0x100edb36
cmp eax, 0x30
jne 0x100edbbf
mov ecx, dword [0x1022b750]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x70], eax
call dword [ebp - 0x70]
fstp dword [ebp - 0x70]
movss xmm0, dword [ebp - 0x70]
push ecx
movss dword [esp], xmm0
call fcn.10064670
fstp dword [ebp - 0x70]
movss xmm0, dword [ebp - 0x70]
cvtps2pd xmm0, xmm0
push ecx
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
fstp dword [ebp - 0x70]
movss xmm0, dword [ebp - 0x70]
add esp, 8
comiss xmm0, dword [ebp - 0x44]
ja 0x100edbbf
mov eax, dword [esi + 0x34]
lea ecx, [esi + 0x44]
mov dword [esi + 0x3c], eax
lea eax, [esi + 8]
mov byte [esi], 1
mov edx, dword [ecx + 4]
mov byte [ebp - 0x65], 1
cmp edx, dword [ecx + 8]
je 0x100edbb4
movq xmm0, qword [eax]
movq qword [edx], xmm0
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
mov byte [edx + 0xc], 1
add dword [ecx + 4], 0x10
jmp 0x100edbbf
lea edi, [ebp - 0x65]
push edi
push eax
push edx
call fcn.100cb000
cmp byte [esi], 0
jne 0x100edc86
movss xmm0, dword [ebp - 0x38]
ucomiss xmm0, dword [0x10166760]
lahf
test ah, 0x44
jnp 0x100edc20
mov eax, dword [esi + 0x34]
lea ecx, [esi + 0x44]
mov dword [esi + 0x3c], eax
lea eax, [esi + 8]
mov edx, dword [ecx + 4]
mov byte [ebp - 0x65], 1
cmp edx, dword [ecx + 8]
je 0x100edc0a
movq xmm0, qword [eax]
movq qword [edx], xmm0
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
mov byte [edx + 0xc], 1
add dword [ecx + 4], 0x10
jmp 0x100edc15
lea edi, [ebp - 0x65]
push edi
push eax
push edx
call fcn.100cb000
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.100f0b90
mov eax, dword [esi + 0x3c]
add eax, dword [ebp - 0x74]
mov ecx, dword [esi + 0x34]
cmp eax, ecx
jg 0x100edc65
mov dword [esi + 0x3c], ecx
lea eax, [esi + 8]
mov edx, dword [esi + 0x48]
lea ecx, [esi + 0x44]
mov byte [ebp - 0x65], 0
cmp edx, dword [ecx + 8]
je 0x100edc5a
movq xmm0, qword [eax]
movq qword [edx], xmm0
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
mov byte [edx + 0xc], 0
add dword [ecx + 4], 0x10
jmp 0x100edc65
lea edi, [ebp - 0x65]
push edi
push eax
push edx
call fcn.100cb000
mov eax, dword [esi + 0x34]
inc eax
push ecx
mov dword [esi + 0x34], eax
mov edi, eax
mov dword [esp], 0x42700000
call fcn.100653a0
add esp, 4
cmp edi, eax
jl 0x100ed6e0
mov eax, dword [esi + 0x3c]
add eax, dword [ebp - 0x74]
mov ecx, dword [esi + 0x34]
cmp eax, ecx
jg 0x100edccb
mov dword [esi + 0x3c], ecx
lea eax, [esi + 8]
mov edx, dword [esi + 0x48]
lea ecx, [esi + 0x44]
mov byte [ebp - 0x65], 0
cmp edx, dword [ecx + 8]
je 0x100edcc0
movq xmm0, qword [eax]
movq qword [edx], xmm0
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
mov byte [edx + 0xc], 0
add dword [ecx + 4], 0x10
jmp 0x100edccb
lea edi, [ebp - 0x65]
push edi
push eax
push edx
call fcn.100cb000
push dword [esi + 0x34]
call fcn.10065380
fadd dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
add esp, 4
fstp dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f7dfb
mov esp, ebp
pop ebp
ret 0x10