Function at 0x10008653
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x10025e88
call fcn.100252dc
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [edi], 0x1002edd4
call fcn.10002f60
push eax
lea ecx, [edi + 8]
call fcn.10001cd2
mov byte [ebp - 4], 1
call fcn.10002f60
push eax
lea ecx, [edi + 0xc]
call fcn.10001cd2
mov byte [ebp - 4], 2
call fcn.10002f60
push eax
lea ecx, [edi + 0x10]
call fcn.10001cd2
mov byte [ebp - 4], 3
call fcn.10002f60
push eax
lea ecx, [edi + 0x14]
call fcn.10001cd2
mov byte [ebp - 4], 4
call fcn.10002f60
push eax
lea ecx, [edi + 0x18]
call fcn.10001cd2
mov byte [ebp - 4], 5
call fcn.10002f60
push eax
lea ecx, [edi + 0x1c]
call fcn.10001cd2
mov byte [ebp - 4], 6
call fcn.10002f60
push eax
lea ecx, [edi + 0x20]
call fcn.10001cd2
mov byte [ebp - 4], 7
call fcn.10002f60
push eax
lea ecx, [edi + 0x24]
call fcn.10001cd2
mov byte [ebp - 4], 8
call fcn.10002f60
push eax
lea ecx, [edi + 0x28]
call fcn.10001cd2
mov byte [ebp - 4], 9
call fcn.10002f60
push eax
lea ecx, [edi + 0x2c]
call fcn.10001cd2
mov byte [ebp - 4], 0xa
call fcn.10002f60
push eax
lea ecx, [edi + 0x30]
call fcn.10001cd2
mov byte [ebp - 4], 0xb
call fcn.10002f60
push eax
lea ecx, [edi + 0x34]
call fcn.10001cd2
mov byte [ebp - 4], 0xc
call fcn.10002f60
push eax
lea ecx, [edi + 0x38]
call fcn.10001cd2
mov byte [ebp - 4], 0xd
call fcn.10002f60
push eax
lea ecx, [edi + 0x3c]
call fcn.10001cd2
lea esi, [edi + 0x40]
mov byte [ebp - 4], 0xe
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.1000e750
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea esi, [edi + 0x54]
mov byte [ebp - 4], 0xf
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.1000e750
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea esi, [edi + 0x68]
mov byte [ebp - 4], 0x10
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.1000e750
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea esi, [edi + 0x7c]
mov byte [ebp - 4], 0x11
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.1000e750
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea esi, [edi + 0x90]
mov byte [ebp - 4], 0x12
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.1000e750
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea esi, [edi + 0xa4]
mov byte [ebp - 4], 0x13
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.1000e750
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea esi, [edi + 0xb8]
mov byte [ebp - 4], 0x14
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.1000e750
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea esi, [edi + 0xcc]
mov byte [ebp - 4], 0x15
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.1000e750
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea ebx, [edi + 0xe8]
mov byte [ebp - 4], 0x16
push 0x100
mov dword [ebp - 0x14], ebx
mov dword [ebx + 4], 0x10
call fcn.1000f2d4
and dword [ebx + 8], 0
mov dword [ebx], eax
mov byte [ebp - 4], 0x17
lea esi, [edi + 0xf4]
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0x10
mov dword [esp], 0x100
call fcn.1000f2d4
and dword [esi + 8], 0
mov dword [esi], eax
add edi, 0x100
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x14], edi
mov dword [esp], 0x100
mov dword [edi + 4], 0x10
call fcn.1000f2d4
and dword [edi + 8], 0
mov dword [edi], eax
mov byte [ebp - 4], 0x19
mov esi, dword [ebp - 0x10]
add esi, 0x10c
mov dword [esp], 0x100
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0x10
call fcn.1000f2d4
and dword [esi + 8], 0
pop ecx
mov dword [esi], eax
push 0
mov byte [ebp - 4], 0x1a
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, dword [ebp - 0x10]
push 0xf003f
push str.ServicesActive
push 0
and dword [esi + 4], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0x34
push str.Spooler
push eax
mov dword [esi + 0x120], eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [esi + 0x11c], eax
call fcn.1000ab5f
mov esi, eax
xor ecx, ecx
mov eax, dword [ebp - 0x10]
test esi, esi
mov edx, ebx
setne cl
add ecx, 0x7d0
mov dword [eax + 0x118], esi
call fcn.1000c790
xor ecx, ecx
mov edx, edi
test esi, esi
setne cl
add ecx, 0x7d2
call fcn.1000c790
mov ebx, dword [ebp - 0x10]
neg esi
sbb esi, esi
lea edx, [ebx + 0xf4]
lea ecx, [esi + 0x7d3]
call fcn.1000c790
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret