Function at 0x4d8c20
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6552d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
call fcn.004f6b90
lea eax, [esi + 0x14]
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [eax + 0xc], edi
mov dword [ebp - 4], 1
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x2c], eax
mov dword [ebp - 4], 4
lea ecx, [esi + 0x30]
call fcn.004ebcf0
mov dword [ebp - 4], 6
mov ecx, dword [ebp + 8]
push edi
push ecx
lea ecx, [esi + 0x5c]
call fcn.005b0e10
mov byte [ebp - 4], 7
lea eax, [esi + 0x278]
mov dword [ebp + 8], eax
mov dword [eax + 0x10], edi
mov byte [ebp - 4], 8
lea ecx, [eax + 0x20]
mov dword [ebp - 0x18], ecx
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov byte [ebp - 4], 0xa
mov dword [eax + 0x2c], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], 0xc0c0c0
mov dword [eax], 0x10
mov dword [eax + 4], 0xf
mov dword [eax + 8], 0x16
mov dword [eax + 0xc], 0x15
mov byte [ebp - 4], 0xb
mov edx, dword [0x700724]
lea eax, [esi + 0x2a8]
mov dword [ebp - 0x18], eax
add eax, 4
mov dword [ebp + 8], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0xe
mov dword [esi], vtable.CIMView.2.0
mov dword [esi + 0x10], vtable.CIMView.1.0
mov dword [esi + 0x5c], vtable.CIMView.0
mov dword [esi + 0x2dc], edi
mov dword [esi + 0x2e0], edi
mov byte [ebp - 4], 0xf
lea eax, [esi + 0x310]
mov dword [esi + 0x2e4], edi
mov dword [ebp + 8], eax
lea ecx, [eax + 8]
mov dword [eax + 4], edi
mov dword [ebp - 0x18], ecx
mov dword [ecx + 0xc], edi
mov byte [ebp - 4], 0x11
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov byte [ebp - 4], 0x12
mov edx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [eax + 0x20], edx
mov byte [ebp - 4], 0x14
mov dword [eax], vtable.CPagedHeaderCtrl.0
mov dword [eax + 0x24], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], edi
mov byte [ebp - 4], 0x15
mov byte [esi + 0x358], 1
call fcn.005bc840
mov ebx, eax
push 0x11
xor eax, eax
push str.StaffcopFLogNDays
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], edi
mov word [ebp - 0x44], ax
call fcn.00407940
mov byte [ebp - 4], 0x16
push 1
lea ecx, [ebp - 0x44]
push ecx
push 1
mov ecx, ebx
call fcn.005bc3b0
mov dword [esi + 0x2b0], eax
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x30], 8
jb 0x4d8ddb
mov edx, dword [ebp - 0x44]
push edx
call fcn.0060faf6
add esp, 4
xor eax, eax
mov word [ebp - 0x44], ax
mov eax, dword [esi + 0x2b0]
mov ecx, 7
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
cmp eax, edi
jbe 0x4d8dfb
cmp eax, 0x64
jb 0x4d8e5e
mov dword [ebp - 0x30], ecx
xor ecx, ecx
push 0x11
mov word [ebp - 0x44], cx
push str.StaffcopFLogNDays
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], edi
call fcn.00407940
mov byte [ebp - 4], 0x17
push 1
lea edx, [ebp - 0x44]
push edx
push 1
mov ecx, ebx
call fcn.005bc330
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x30], 8
jb 0x4d8e3f
mov eax, dword [ebp - 0x44]
push eax
call fcn.0060faf6
add esp, 4
xor ecx, ecx
mov word [ebp - 0x44], cx
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], edi
mov dword [esi + 0x2b0], 1
mov ecx, 7
push 0x10
mov dword [ebp - 0x30], ecx
xor edx, edx
push str.StaffcopFLogDays
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], edi
mov word [ebp - 0x44], dx
call fcn.00407940
mov byte [ebp - 4], 0x18
push 1
lea eax, [ebp - 0x44]
push eax
push 1
mov ecx, ebx
call fcn.005bc2c0
movzx ecx, al
mov dword [esi + 0x2a8], ecx
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x30], 8
jb 0x4d8eab
mov edx, dword [ebp - 0x44]
push edx
call fcn.0060faf6
add esp, 4
xor ecx, ecx
mov eax, 7
push edi
mov word [ebp - 0x44], cx
xor edx, edx
push 0x66eba8
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edi
mov word [ebp - 0x60], dx
call fcn.00407940
mov byte [ebp - 4], 0x19
push 0x13
xor eax, eax
push str.StaffcopFLogKeyword
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], edi
mov word [ebp - 0x44], ax
call fcn.00407940
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x44]
push edx
push 1
lea eax, [ebp - 0x7c]
push eax
mov ecx, ebx
call fcn.005bd080
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x30], 8
jb 0x4d8f28
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0060faf6
add esp, 4
mov ebx, 7
xor edx, edx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], edi
mov word [ebp - 0x44], dx
mov byte [ebp - 4], 0x1d
cmp dword [ebp - 0x4c], 8
jb 0x4d8f4f
mov eax, dword [ebp - 0x60]
push eax
call fcn.0060faf6
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x68], 8
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], edi
mov word [ebp - 0x60], cx
jb 0x4d8f6e
mov eax, dword [ebp - 0x7c]
mov edx, eax
cmp eax, edi
jne 0x4d8f71
xor eax, eax
jmp 0x4d8f85
lea edx, [ebp - 0x7c]
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4d8f76
sub eax, ebx
sar eax, 1
push eax
push edx
lea ecx, [esi + 0x2ac]
call fcn.00401710
lea edx, [ebp - 0x10]
push edx
call fcn.005bd6c0
mov ecx, dword [ebp - 0x10]
push 8
lea eax, [ebp - 0x20]
push eax
push str.StaffcopFLogFrom
push ecx
call fcn.005bd5d0
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemTime]
add esp, 0x14
test eax, eax
je 0x4d8fd6
fld qword [ebp - 0x20]
lea edx, [esi + 0x2b4]
push edx
sub esp, 8
fstp qword [esp]
call fcn.00425380
add esp, 0xc
jmp 0x4d8fdf
lea eax, [esi + 0x2b4]
push eax
call ebx
mov edx, dword [ebp - 0x10]
push 8
lea ecx, [ebp - 0x28]
push ecx
push str.StaffcopFLogTo
push edx
call fcn.005bd5d0
add esp, 0x10
test eax, eax
je 0x4d9014
fld qword [ebp - 0x28]
lea eax, [esi + 0x2c4]
push eax
sub esp, 8
fstp qword [esp]
call fcn.00425380
add esp, 0xc
jmp 0x4d901d
lea ecx, [esi + 0x2c4]
push ecx
call ebx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x68], 8
jb 0x4d903d
mov eax, dword [ebp - 0x7c]
push eax
call fcn.0060faf6
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x6c], edi
mov word [ebp - 0x7c], cx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4