Function at 0x1005a780
Capabilities:
Access peb ldr_data
Generate random numbers via rtlgenrandom
Get process heap flags
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e00bf
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1010f16c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 8]
lea esi, [edi + 8]
mov dword [edi + 4], 0x100f34ac
mov dword [esi], method.std::_Facet_base.virtual_4
mov dword [edi + 0xc], 0x100f34ac
push 0x28
mov dword [edi], 0x100f7610
mov dword [edi + 4], 0x100f7608
mov dword [esi], 0x100f7604
mov dword [edi + 0xc], 0x100f75fc
mov dword [edi + 0x10], eax
call fcn.10090929
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov dword [eax], 0x100f66a4
mov byte [ebp - 4], 1
mov dword [eax], 0x100f6640
mov byte [ebp - 4], 2
lea ecx, [edi + 0x1f0]
mov dword [eax + 4], ecx
mov ecx, dword [0x101160c8]
mov dword [eax], 0x100f6670
mov dword [eax + 0x20], 0
mov dword [eax + 0xc], esi
mov dword [eax + 8], 0
test ecx, ecx
jne 0x1005a863
push str.SystemFunction036
push str.ADVAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov dword [0x101160c8], ecx
test ecx, ecx
jne 0x1005a860
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x10]
push 0x10
add eax, 0x10
push eax
call ecx
test al, al
jne 0x1005a877
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x14], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
mov dword [ebp - 4], 3
lea edx, [edi + 0x38]
mov dword [edx], 0x100f7618
lea ecx, [edx + 0x28]
mov dword [edx + 0x10], 0
mov dword [edx + 0x24], edi
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov byte [ebp - 4], 4
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x64], 0
mov dword [ecx + 0x68], 0
mov byte [ebp - 4], 5
mov dword [ecx + 0x80], 0
mov dword [ecx + 0x84], 0
mov dword [ecx + 0x88], 0
mov byte [ebp - 4], 6
mov dword [ecx + 0x8c], 0
mov dword [ecx + 0x90], 0
mov dword [ecx + 0x94], 0
mov byte [ebp - 4], 7
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ecx], 0
mov dword [ecx + 4], eax
mov dword [ecx + 0x24], 0xffffffff
mov dword [ecx + 0x20], 0xffffffff
mov byte [ecx + 0x1a], 0
mov byte [ecx + 0x98], 0
add esi, 0x358
je 0x1005a984
movups xmm0, xmmword [esi]
movups xmmword [ecx + 0x98], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [ecx + 0xa8], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [ecx + 0xb8], xmm0
xorps xmm0, xmm0
movups xmmword [ecx + 0x28], xmm0
mov word [ecx + 0x38], 0
movups xmmword [ecx + 0x3a], xmm0
mov word [ecx + 0x4a], 0
mov byte [ebp - 4], 8
lea eax, [edx + 0x1c]
mov dword [edx + 0x20], eax
mov dword [eax], 0
mov dword [edx + 0x18], 0
mov dword [edx + 0xc], 0
mov dword [edx + 8], 0
mov dword [edx + 4], 0
mov word [edx + 0x14], 0
mov byte [ebp - 4], 9
lea esi, [edi + 0x120]
mov dword [ebp + 8], esi
lea eax, [esi + 0x14]
mov dword [esi + 0xc], 0x100f7640
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], eax
mov dword [eax], 0
lea eax, [esi + 0x40]
mov dword [esi + 0x10], esi
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x28], 0xffffffff
mov dword [eax], 0
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x8c], 0
mov byte [ebp - 4], 0xa
mov dword [esi + 0x98], 0
mov dword [esi + 0x94], 0
mov byte [ebp - 4], 0xb
push 0
push 0
push 0
push 0xffffffffffffffff
mov byte [esi + 4], 0
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 8], eax
mov dword [esi + 0x90], 0
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0x1bc]
lea eax, [ecx + 8]
mov dword [ecx], 0x100f3148
mov dword [ecx + 0x18], 0
mov dword [eax], 0
mov dword [ecx + 0xc], eax
lea eax, [edi + 0x398]
mov dword [ecx + 4], esi
mov dword [ecx + 0x30], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], eax
mov byte [ebp - 4], 0xd
lea esi, [edi + 0x1f0]
lea ecx, [esi + 0x20]
mov dword [ebp + 8], esi
call fcn.1006bc00
mov byte [ebp - 4], 0xe
mov dword [esi + 0x2330], 0
mov dword [esi + 0x2334], 0
mov dword [esi + 0x2338], 0
mov byte [ebp - 4], 0xf
mov dword [esi + 0x233c], 0
mov dword [esi + 0x2340], 0
mov dword [esi + 0x2344], 0
mov byte [ebp - 4], 0x10
lea eax, [esi + 0x2348]
mov dword [ebp - 0x18], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 0x11
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 0x12
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov byte [ebp - 4], 0x13
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov byte [ebp - 4], 0x15
mov dword [esi + 0x2390], 0
mov dword [esi + 0x2394], 0
mov dword [esi + 0x2398], 0
mov byte [ebp - 4], 0x16
lea eax, [edi + 0x38]
mov dword [esi + 4], eax
lea eax, [edi + 4]
mov dword [esi], eax
mov eax, 0x58c
push 0xf8
mov word [esi + 0x10], ax
lea eax, [esi + 0x2238]
push 0
push eax
mov dword [esi + 8], edi
call fcn.100a8dc0
xor eax, eax
mov dword [esi + 0x12], 0x1ff01
add esp, 0xc
mov dword [esi + 0xc], eax
mov byte [esi + 0x17], al
mov dword [esi + 0x2378], eax
mov dword [esi + 0x237c], eax
mov dword [esi + 0x2380], eax
mov dword [esi + 0x2384], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [esi + 0x2388], eax
mov dword [esi + 0x238c], edx
mov byte [ebp - 4], 0x17
add edi, 0x2590
push 0
push 0
push 0
mov dword [edi + 0x10], 0
lea esi, [edi + 0x28]
mov dword [edi + 0x24], 0x100f7638
mov dword [esi], 0x100f7630
push 0
mov dword [edi + 0x2c], 0x100f7628
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x14], eax
mov dword [edi + 4], edi
mov dword [edi], 0
mov dword [edi + 0x18], 0
mov byte [edi + 0x1c], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x20], esi
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0x228], eax
mov dword [ecx + 0x140], edi
mov dword [ecx + 0x1cc], edi
mov dword [ecx + 0x3c], edi
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4