Function at 0x1008ba80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d0990
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x1026b040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp + 8]
lea esi, [ecx + 4]
mov dword [ebp - 0x8c], ecx
push 0x8c
push 0
mov eax, dword [eax]
push esi
mov dword [ebp - 0xf4], esi
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov ebx, dword [ecx + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x9c], eax
mov eax, dword [ecx + 4]
movss xmm0, dword [eax]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ecx + 0x10]
movss dword [ebp - 0x8c], xmm0
mov eax, dword [eax]
mov dword [ebp - 0x88], eax
mov eax, dword [ecx + 0x14]
mov edi, dword [eax]
call sub.VCRUNTIME140.dll_memset
mov word [esi], 0
add esp, 0xc
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
lea ecx, [esi + 0x50]
mov dword [ebp - 4], 0
call fcn.1001ecc0
lea ecx, [esi + 0x50]
call fcn.1001da00
mov esi, dword [ebp - 0x94]
lea ecx, [esi + 0x6c]
mov dword [ebp - 4], 1
call fcn.1001ecc0
lea ecx, [esi + 0x6c]
call fcn.1001da00
mov dword [esi + 0x84], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x88], 0
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 4], 2
mov dword [esi + 8], edi
lea edi, [esi + 0xc]
mov dword [esi + 0x34], ecx
movq xmm0, qword [ebx]
movq qword [edi], xmm0
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x84]
movq xmm0, qword [eax]
movq qword [esi + 0x18], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], 0xd
mov eax, dword [0x10633ee0]
add eax, 0xfab78433
movss xmm0, dword [0x10257f40]
xor eax, 0xc85d879a
movss xmm3, dword [0x10257ff4]
add ecx, 0xffffffd5
mov eax, dword [eax + 0x108]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
mov dword [ebp - 0x88], eax
neg eax
mov dword [esi + 0x40], eax
cmp ecx, 5
ja case.default.0x1008bc7f
jmp dword [ecx*4 + 0x1008c3c4]
movss xmm0, dword [0x10258074]
jmp 0x1008bcf9
mov eax, dword [0x10633ee0]
movss xmm0, dword [0x1025805c]
add eax, 0xfab78433
xor eax, 0xc85d879a
mov eax, dword [eax + 0x108]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm0
jmp 0x1008bd13
mov dword [esi + 0x2c], 0x3fc00000
jmp 0x1008bcf1
mov eax, dword [0x10633ee0]
add eax, 0xfab78433
xor eax, 0xc85d879a
mov ecx, dword [eax + 0x23c]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x2c]
xor eax, ecx
mov dword [ebp - 0x84], eax
movss xmm0, dword [ebp - 0x84]
movss dword [esi + 0x2c], xmm0
movss xmm0, dword [0x10257f34]
mov eax, dword [0x10633ee0]
add eax, 0xfab78433
xor eax, 0xc85d879a
mov eax, dword [eax + 0x108]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
mov dword [esi + 0x3c], eax
mov eax, dword [0x10633ee0]
lea ebx, [esi + 0x48]
movss xmm0, dword [0x1025820c]
add eax, 0xfab78433
xor eax, 0xc85d879a
mov ecx, dword [esi + 0x38]
mov eax, dword [eax + 0x108]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
cmp ecx, eax
jge 0x1008c337
cmp dword [esi + 0x3c], ecx
jg 0x1008be51
mov eax, dword [esi + 0x34]
add eax, 0xffffffd5
cmp eax, 5
ja case.default.0x1008bd6e
jmp dword [eax*4 + 0x1008c3dc]
movss xmm1, dword [esi + 0x1c]
movss xmm2, dword [esi + 0x18]
movss xmm0, dword [esi + 0x20]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
movss xmm0, dword [0x10257f28]
comiss xmm0, xmm2
jb case.default.0x1008bd6e
jmp 0x1008be00
movss xmm1, dword [esi + 0x1c]
movss xmm2, dword [esi + 0x18]
movss xmm0, dword [esi + 0x20]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
movss xmm0, dword [0x10257f44]
comiss xmm0, xmm2
jb case.default.0x1008bd6e
jmp 0x1008be00
mov eax, dword [0x10633ee0]
add eax, 0xfab78433
movd xmm0, ecx
xor eax, 0xc85d879a
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x108]
mulss xmm0, dword [eax + 0x20]
comiss xmm0, dword [esi + 0x2c]
jbe case.default.0x1008bd6e
lea eax, [ebp - 0x7d]
mov dword [esi + 0x40], ecx
push eax
push edi
mov ecx, ebx
mov byte [esi + 4], 1
mov byte [ebp - 0x7d], 0
call fcn.1008b7a0
movss xmm3, dword [0x10257ff4]
mov eax, dword [0x10633ee0]
movss xmm0, dword [0x10257fa4]
add eax, 0xfab78433
xor eax, 0xc85d879a
mov ecx, dword [esi + 0x38]
mov eax, dword [eax + 0x108]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
add eax, ecx
mov dword [esi + 0x3c], eax
cmp ecx, dword [ebp - 0x9c]
jl 0x1008c2f9
cmp byte [esi + 4], 0
jne 0x1008c337
mov edx, dword [0x10633ee0]
movss xmm2, dword [esi + 0x20]
add edx, 0xfab78433
xor edx, 0xc85d879a
movaps xmm1, xmm2
mov ecx, dword [edx + 0x204]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x2c]
xor eax, ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x84], eax
movss xmm0, dword [ebp - 0x84]
mov eax, dword [edx + 0x108]
mulss xmm0, dword [0x10257fe0]
movss xmm3, dword [eax + 0x20]
mulss xmm0, xmm3
subss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esi + 0x1c]
addss xmm2, xmm1
movss dword [ebp - 0x90], xmm0
movss dword [esi + 0x20], xmm1
mulss xmm2, xmm3
mulss xmm3, dword [esi + 0x18]
mulss xmm2, dword [0x10257ff4]
movss dword [ebp - 0x98], xmm3
movss dword [ebp - 0x84], xmm2
call fcn.1001fc80
mov edx, dword [esi + 0x28]
mov eax, 0x8400b
movss xmm2, dword [ebp - 0x98]
cmp edx, 1
movss xmm1, dword [ebp - 0x90]
mov ebx, 0x4208608b
movss xmm0, dword [ebp - 0x84]
cmove ebx, eax
mov eax, dword [0x10633ee0]
addss xmm2, dword [edi]
addss xmm1, dword [edi + 4]
addss xmm0, dword [edi + 8]
add eax, 0xfab78433
xor eax, 0xc85d879a
movss dword [ebp - 0xa8], xmm2
movss dword [ebp - 0xa4], xmm1
movss dword [ebp - 0xa0], xmm0
mov ecx, dword [eax + 0x110]
lea eax, [ebp - 0x64]
push eax
push edx
push dword [esi + 8]
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0x40000000
push ebx
push eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xb0], 0x40000000
push eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xac], 0x40000000
push eax
push edi
mov dword [ebp - 0xc0], 0xc0000000
mov dword [ebp - 0xbc], 0xc0000000
mov dword [ebp - 0xb8], 0xc0000000
call fcn.1014d0f0
cmp byte [ebp - 0x2d], 0
je 0x1008c08d
test dword [ebp - 0x34], 0x80000
je 0x1008c08d
push 0x54
lea eax, [ebp - 0x64]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x38], 0x3f800000
lea eax, [ebp - 0x7c]
mov ecx, 0x102f3600
push eax
call fcn.10032480
lea ecx, [ebp - 0x7c]
call fcn.1001d5b0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x28], eax
call fcn.1001d970
mov eax, dword [0x10633ee0]
add eax, 0xfab78433
xor eax, 0xc85d879a
mov ecx, dword [eax + 0x110]
lea eax, [ebp - 0x64]
push eax
push dword [esi + 0x28]
mov eax, ebx
mov dword [ebp - 0xcc], 0x40000000
push dword [esi + 8]
and eax, 0xfff7ffff
mov dword [ebp - 0xc8], 0x40000000
push eax
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xc4], 0x40000000
push eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0xc0000000
push eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xd4], 0xc0000000
push eax
push edi
mov dword [ebp - 0xd0], 0xc0000000
call fcn.1014d0f0
movss xmm0, dword [0x1025805c]
comiss xmm0, dword [ebp - 0x38]
ja 0x1008c0ab
cmp byte [ebp - 0x2e], 0
jne 0x1008c0ab
cmp byte [ebp - 0x2d], 0
je 0x1008c1df
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1008c120
call fcn.1001fcf0
test al, al
je 0x1008c120
push 0x54
lea eax, [ebp - 0x64]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x38], 0x3f800000
lea eax, [ebp - 0x7c]
mov ecx, 0x102f3600
push eax
call fcn.10032480
lea ecx, [ebp - 0x7c]
call fcn.1001d5b0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x28], eax
call fcn.1001d970
mov eax, dword [0x10633ee0]
lea ecx, [ebp - 0x64]
push ecx
push dword [esi + 0x28]
add eax, 0xfab78433
lea ecx, [ebp - 0xa8]
push dword [esi + 8]
xor eax, 0xc85d879a
push ebx
push ecx
push edi
mov ecx, dword [eax + 0x110]
call fcn.1014d080
cmp byte [ebp - 0x2d], 0
je 0x1008c1df
movss xmm2, dword [ebp - 0x98]
mov dword [esi + 0x28], 3
mov eax, dword [0x10633ee0]
movss xmm4, dword [edi + 4]
add eax, 0xfab78433
movss xmm3, dword [edi + 8]
xor eax, 0xc85d879a
movss xmm5, dword [edi]
movaps xmm1, xmm4
addss xmm1, dword [ebp - 0x90]
subss xmm4, dword [ebp - 0x90]
mov ecx, dword [eax + 0x110]
addss xmm2, xmm5
subss xmm5, dword [ebp - 0x98]
lea eax, [ebp - 0x64]
movaps xmm0, xmm3
addss xmm0, dword [ebp - 0x84]
subss xmm3, dword [ebp - 0x84]
push eax
push 3
push dword [esi + 8]
lea eax, [ebp - 0xe4]
movss dword [ebp - 0xe4], xmm2
push 0x8400b
push eax
lea eax, [ebp - 0xf0]
movss dword [ebp - 0xe0], xmm1
push eax
movss dword [ebp - 0xdc], xmm0
movss dword [ebp - 0xf0], xmm5
movss dword [ebp - 0xec], xmm4
movss dword [ebp - 0xe8], xmm3
call fcn.1014d080
movss xmm0, dword [ebp - 0x38]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1008c1ff
movq xmm0, qword [ebp - 0x58]
mov eax, dword [ebp - 0x50]
movq qword [edi], xmm0
mov dword [edi + 8], eax
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1008c28a
call fcn.1001fcf0
test al, al
jne 0x1008c28a
mov eax, dword [esi + 0x34]
cmp eax, 0x44
je 0x1008c26b
cmp eax, 0x2e
je 0x1008c225
cmp eax, 0x30
jne 0x1008c28a
mov eax, dword [0x10633ee0]
add eax, 0xfab78433
xor eax, 0xc85d879a
mov ecx, dword [eax + 0x238]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x2c]
xor eax, ecx
mov dword [ebp - 0x84], eax
movss xmm0, dword [ebp - 0x84]
mov byte [ebp - 4], 3
mulss xmm0, dword [0x10257f30]
call fcn.1001fb30
mov byte [ebp - 4], 2
comiss xmm0, dword [ebp - 0x44]
ja 0x1008c28a
mov eax, dword [esi + 0x38]
lea ebx, [esi + 0x48]
mov dword [esi + 0x40], eax
mov ecx, ebx
lea eax, [ebp - 0x7d]
mov byte [esi + 4], 1
push eax
push edi
mov byte [ebp - 0x7d], 1
call fcn.1008b7a0
jmp 0x1008c28d
lea ebx, [esi + 0x48]
cmp byte [esi + 4], 0
jne 0x1008c334
movss xmm0, dword [ebp - 0x38]
ucomiss xmm0, dword [0x1025805c]
lahf
test ah, 0x44
jnp 0x1008c2cb
mov eax, dword [esi + 0x38]
mov ecx, ebx
mov dword [esi + 0x40], eax
lea eax, [ebp - 0x7d]
push eax
push edi
mov byte [ebp - 0x7d], 1
call fcn.1008b7a0
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 4]
call fcn.10084d80
mov eax, dword [esi + 0x40]
add eax, dword [ebp - 0x88]
mov ecx, dword [esi + 0x38]
cmp eax, ecx
jg 0x1008c2ee
lea eax, [ebp - 0x7d]
mov dword [esi + 0x40], ecx
push eax
push edi
mov ecx, ebx
mov byte [ebp - 0x7d], 0
call fcn.1008b7a0
movss xmm3, dword [0x10257ff4]
lea ebx, [esi + 0x48]
mov ecx, dword [esi + 0x38]
movss xmm0, dword [0x1025820c]
inc ecx
mov dword [esi + 0x38], ecx
mov eax, dword [0x10633ee0]
add eax, 0xfab78433
xor eax, 0xc85d879a
mov eax, dword [eax + 0x108]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
cmp ecx, eax
jl 0x1008bd56
jmp 0x1008c337
lea ebx, [esi + 0x48]
mov eax, dword [esi + 0x40]
add eax, dword [ebp - 0x88]
mov ecx, dword [esi + 0x38]
cmp eax, ecx
jg 0x1008c35a
lea eax, [ebp - 0x7d]
mov dword [esi + 0x40], ecx
push eax
push edi
mov ecx, ebx
mov byte [ebp - 0x7d], 0
call fcn.1008b7a0
mov ecx, dword [0x10633ee0]
movd xmm0, dword [esi + 0x38]
add ecx, 0xfab78433
cvtdq2ps xmm0, xmm0
xor ecx, 0xc85d879a
mov eax, dword [ebp - 0x94]
mov ecx, dword [ecx + 0x108]
divss xmm0, dword [ecx + 0x20]
addss xmm0, dword [0x10257ff4]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x8c]
movss dword [esi + 0x30], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101c8fef
mov esp, ebp
pop ebp
ret 0x10