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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10174f60
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101b3820]
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, 0x101e2e2c
call fcn.10100380
mov ecx, dword [0x101b4ba8]
mov dword [ebp - 0x14], ecx
cvtsi2sd xmm0, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x101a10c0]
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 [0x101a0bd4]
movss dword [ecx + 0x10], xmm0
mov edx, dword [ebp - 0x10]
movss xmm0, dword [0x101a0cd0]
movss dword [edx + 0x14], xmm0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [0x101a0e28]
movss dword [eax + 0x18], xmm0
mov ecx, dword [0x101b4ba8]
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 + 0x101a10c0]
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 [0x101a0dc0]
movss dword [ecx + 0x34], xmm0
mov edx, dword [ebp - 0x10]
movss xmm0, dword [0x101a0ae0]
movss dword [edx + 0x38], xmm0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [0x101a0afc]
movss dword [eax + 0x3c], xmm0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
cmp dword [0x81f6b6c], 8
jbe 0x1015b2ac
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 + 0x101a10c0]
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.10062ac8
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x1015b2f3
push 0
push ecx
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
push 0x1f
mov ecx, dword [ebp - 0x20]
call fcn.100980f0
mov dword [ebp - 0x24], eax
jmp 0x1015b2fa
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.10062ac8
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x28], 0
je 0x1015b357
push 0
push ecx
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a00e0]
movss dword [esp], xmm0
push 0x1f
mov ecx, dword [ebp - 0x28]
call fcn.100980f0
mov dword [ebp - 0x2c], eax
jmp 0x1015b35e
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