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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10175dc0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101b4820]
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, 0x101e1de4
call fcn.10100f10
mov ecx, dword [0x101b5ba8]
mov dword [ebp - 0x14], ecx
cvtsi2sd xmm0, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x101a2460]
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 [0x101a1f6c]
movss dword [ecx + 0x10], xmm0
mov edx, dword [ebp - 0x10]
movss xmm0, dword [0x101a2068]
movss dword [edx + 0x14], xmm0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [0x101a21c0]
movss dword [eax + 0x18], xmm0
mov ecx, dword [0x101b5ba8]
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 + 0x101a2460]
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 [0x101a2158]
movss dword [ecx + 0x34], xmm0
mov edx, dword [ebp - 0x10]
movss xmm0, dword [0x101a1e78]
movss dword [edx + 0x38], xmm0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [0x101a1e94]
movss dword [eax + 0x3c], xmm0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
cmp dword [0x81f6b6c], 8
jbe 0x1015c0ac
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 + 0x101a2460]
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.10063228
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x1015c0f3
push 0
push ecx
movss xmm0, dword [0x101a1478]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a1478]
movss dword [esp], xmm0
push 0x1f
mov ecx, dword [ebp - 0x20]
call fcn.10098c20
mov dword [ebp - 0x24], eax
jmp 0x1015c0fa
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.10063228
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x28], 0
je 0x1015c157
push 0
push ecx
movss xmm0, dword [0x101a1478]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a1478]
movss dword [esp], xmm0
push 0x1f
mov ecx, dword [ebp - 0x28]
call fcn.10098c20
mov dword [ebp - 0x2c], eax
jmp 0x1015c15e
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