Function at 0x1015a0c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10173e10
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101b2820]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
push eax
push 0xf8
mov ecx, 0x104e321c
call fcn.100ff1d0
mov ecx, dword [0x101b3ba8]
mov dword [ebp - 0x14], ecx
cvtsi2sd xmm0, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x101a00d0]
movsd qword [ebp - 0x3c], xmm0
cvtsd2ss xmm0, qword [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
movss dword [eax + 0xc], xmm0
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [0x1019fbdc]
movss dword [ecx + 0x10], xmm0
mov edx, dword [ebp - 0x10]
movss xmm0, dword [0x1019fcd8]
movss dword [edx + 0x14], xmm0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [0x1019fe30]
movss dword [eax + 0x18], xmm0
mov ecx, dword [0x101b3ba8]
sub ecx, 0x1c
mov dword [ebp - 0x18], ecx
cvtsi2sd xmm0, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x101a00d0]
movsd qword [ebp - 0x44], xmm0
cvtsd2ss xmm0, qword [ebp - 0x44]
mov eax, dword [ebp - 0x10]
movss dword [eax + 0x30], xmm0
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [0x1019fdc8]
movss dword [ecx + 0x34], xmm0
mov edx, dword [ebp - 0x10]
movss xmm0, dword [0x1019fae8]
movss dword [edx + 0x38], xmm0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [0x1019fb04]
movss dword [eax + 0x3c], xmm0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
cmp dword [0x81f6b6c], 8
jbe 0x1015a20c
mov edx, dword [0x81f6b6c]
sub edx, 8
imul edx, edx, 0x17
mov dword [ebp - 0x1c], edx
cvtsi2sd xmm0, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101a00d0]
movsd qword [ebp - 0x4c], xmm0
cvtsd2ss xmm0, qword [ebp - 0x4c]
mov ecx, dword [ebp - 0x10]
addss xmm0, dword [ecx + 0x34]
mov edx, dword [ebp - 0x10]
movss dword [edx + 0x34], xmm0
push 0x4c
call fcn.10061e18
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x1015a253
push 0
push ecx
movss xmm0, dword [0x1019f0e8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f0e8]
movss dword [esp], xmm0
push 0x1f
mov ecx, dword [ebp - 0x20]
call fcn.10097470
mov dword [ebp - 0x24], eax
jmp 0x1015a25a
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x40], edx
push 0x4c
call fcn.10061e18
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x28], 0
je 0x1015a2b7
push 0
push ecx
movss xmm0, dword [0x1019f0e8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1019f0e8]
movss dword [esp], xmm0
push 0x1f
mov ecx, dword [ebp - 0x28]
call fcn.10097470
mov dword [ebp - 0x2c], eax
jmp 0x1015a2be
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x34]
mov dword [ecx + 0x44], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4