Function at 0x100042a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c8f8
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push esi
push edi
mov eax, dword [0x101ce084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov eax, dword [0x102223ec]
mov ecx, dword [0x10222420]
mov esi, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [0x102223ec]
push eax
call dword [esi + 0xc]
mov esi, eax
mov dword [ebp - 0x48], esi
test esi, esi
jne 0x1000430f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [0x102223ec]
mov edx, dword [esi + 0x2ee8]
and edx, 0xfff
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, eax
test ecx, ecx
je 0x100042f9
mov eax, dword [0x1022262c]
movzx eax, word [eax + ecx]
cmp ax, 0x1f
je 0x100042f9
mov eax, dword [0x102224a0]
mov edx, dword [0x102224ac]
mov ebx, dword [ebp + 8]
movq xmm0, qword [eax + esi]
mov eax, dword [eax + esi + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x102224dc]
movq qword [ebp - 0x34], xmm0
movq xmm0, qword [eax + esi]
mov eax, dword [eax + esi + 8]
movq qword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x34]
addss xmm0, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1022268c]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [ebp - 0x24]
mov eax, dword [eax + ecx]
mov dword [ebp - 0x10], eax
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x2c]
addss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [0x102c7898]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [0x102c7894]
cmp eax, 2
jg 0x100043c9
add edx, ebx
mov edi, edx
jmp 0x100043e6
mov ecx, dword [edx + ebx]
lea edi, [ebp - 0x1c]
cvttss2si eax, xmm0
add edx, ebx
add ecx, 0xa
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
cmovle edi, eax
cmp dword [ebp - 0x10], 2
mov edi, dword [edi]
mov dword [ebp - 0x44], edi
jle 0x1000440b
mov ecx, dword [edx]
lea edx, [ebp - 0x10]
cvttss2si eax, xmm0
add ecx, 0xa
mov dword [ebp - 0x10], ecx
cmp eax, ecx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
cmovle edx, eax
mov eax, dword [edx]
push ecx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.10004f50
movq xmm0, qword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
push 0xffffffffffffffff
push ebx
push esi
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x40]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [ebp - 0x38]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x98]
push eax
call fcn.100066b0
cmp byte [ebp - 0x8c], 0
mov eax, edi
mov dword [ebp - 0x34], 0
cmovne eax, dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movss xmm0, dword [ebp - 0x4c]
lea eax, [ebp - 0x34]
sub esp, 8
mov dword [ebp - 4], 0
movss dword [esp + 4], xmm0
push eax
push ebx
call fcn.10004c20
mov eax, dword [ebp - 0x34]
or edi, 0xffffffff
movss xmm0, dword [ebp - 0x38]
xor ebx, ebx
mov esi, eax
cmp eax, dword [ebp - 0x30]
je 0x10004558
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x1c], xmm0
nop dword [eax + eax]
movq xmm0, qword [esi]
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push dword [ebp + 8]
push dword [ebp - 0x48]
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x40]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [ebp - 0x38]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x74]
push eax
call fcn.100066b0
mov eax, dword [ebp - 0x74]
cmp eax, edi
jle 0x1000453b
cmp byte [ebp - 0x68], 0
mov edi, eax
movss xmm2, dword [esi]
movss xmm1, dword [esi + 4]
movss xmm0, dword [esi + 8]
mov ebx, dword [ebp - 0x44]
cmovne ebx, dword [ebp - 0x14]
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x10], xmm0
jmp 0x1000454a
movss xmm0, dword [ebp - 0x10]
movss xmm1, dword [ebp - 0x18]
movss xmm2, dword [ebp - 0x1c]
add esi, 0xc
cmp esi, dword [ebp - 0x30]
jne 0x100044d0
jmp 0x10004562
movss xmm1, dword [ebp - 0x3c]
movss xmm2, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jge 0x10004577
cmp edi, eax
jge 0x10004577
xor bl, bl
jmp 0x100045dc
cmp ecx, dword [ebp - 0x50]
jl 0x10004599
cmp edi, ebx
jl 0x10004599
mov eax, dword [0x102224ac]
mov edx, dword [ebp + 8]
mov eax, dword [eax + edx]
add eax, 0xa
cmp ecx, eax
jg 0x1000459d
lea eax, [ecx + 0xa]
cmp eax, edi
jmp 0x1000459b
cmp ecx, edi
jle 0x100045c4
mov eax, dword [ebp + 0xc]
movss xmm0, dword [ebp - 0x28]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [eax + 4], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [eax + 8], xmm0
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
jmp 0x100045da
mov eax, dword [ebp + 0xc]
movss dword [eax], xmm2
movss dword [eax + 4], xmm1
movss dword [eax + 8], xmm0
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
mov bl, 1
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x10004604
mov ecx, dword [ebp - 0x2c]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
push 0xc
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push esi
call fcn.10001da0
add esp, 0xc
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc