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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58fb04
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 4], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], eax
mov dword [eax + 0xc], edi
mov dword [ebp - 4], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 4
lea ecx, [esi + 0x24]
call fcn.00452200
mov dword [ebp - 4], 6
mov ecx, dword [ebp + 8]
push edi
push ecx
lea ecx, [esi + 0x50]
call fcn.004f9d60
mov byte [ebp - 4], 7
lea eax, [esi + 0x26c]
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 dword [esi], vtable.CSNView.1.0
mov dword [esi + 0x50], vtable.CSNView.0
mov dword [esi + 0x2a0], edi
mov dword [esi + 0x2a4], edi
mov byte [ebp - 4], 0xc
mov dword [esi + 0x2a8], edi
mov edx, dword [0x5f5774]
mov eax, dword [edx + 0xc]
lea ebx, [esi + 0x2b4]
mov ecx, 0x5f5774
mov dword [ebp + 8], ebx
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xe
lea eax, [esi + 0x2f8]
lea ecx, [eax + 8]
mov dword [eax + 4], edi
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], ecx
mov dword [ecx + 0xc], edi
mov byte [ebp - 4], 0x10
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov byte [ebp - 4], 0x11
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [eax + 0x20], ecx
mov byte [ebp - 4], 0x13
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], 0x14
lea ecx, [esi + 0x344]
mov byte [esi + 0x340], 1
call fcn.004a3030
mov byte [ebp - 4], 0x15
lea ecx, [esi + 0x354]
call fcn.004a3030
mov byte [ebp - 4], 0x16
call fcn.005096c0
push 0x11
xor edx, edx
push str.StaffcopFLogNDays
lea ecx, [ebp - 0x44]
mov ebx, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], edi
mov word [ebp - 0x44], dx
call fcn.00407db0
mov byte [ebp - 4], 0x17
push 1
lea eax, [ebp - 0x44]
push eax
push 1
mov ecx, ebx
call fcn.00509210
mov dword [esi + 0x2b8], eax
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x30], 8
jb 0x4b55e7
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00553d26
add esp, 4
mov eax, dword [esi + 0x2b8]
xor edx, edx
mov ecx, 7
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov word [ebp - 0x44], dx
cmp eax, edi
jbe 0x4b5607
cmp eax, 0x64
jb 0x4b566a
push 0x11
mov dword [ebp - 0x30], ecx
xor eax, eax
push str.StaffcopFLogNDays
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], edi
mov word [ebp - 0x44], ax
call fcn.00407db0
mov byte [ebp - 4], 0x18
push 1
lea ecx, [ebp - 0x44]
push ecx
push 1
mov ecx, ebx
call fcn.00509190
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x30], 8
jb 0x4b564b
mov edx, dword [ebp - 0x44]
push edx
call fcn.00553d26
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], edi
mov word [ebp - 0x44], ax
mov dword [esi + 0x2b8], 1
mov ecx, 7
mov dword [ebp - 0x30], ecx
xor ecx, ecx
push 0x10
mov word [ebp - 0x44], cx
push str.StaffcopFLogDays
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], edi
call fcn.00407db0
mov byte [ebp - 4], 0x19
push 1
lea edx, [ebp - 0x44]
push edx
push 1
mov ecx, ebx
call fcn.00509120
movzx eax, al
mov dword [esi + 0x2b0], eax
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x30], 8
jb 0x4b56b7
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00553d26
add esp, 4
mov eax, 7
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x4c], eax
push edi
xor edx, edx
xor eax, eax
push 0x59c2bc
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x34], edi
mov word [ebp - 0x44], dx
mov dword [ebp - 0x50], edi
mov word [ebp - 0x60], ax
call fcn.00407db0
mov byte [ebp - 4], 0x1a
xor ecx, ecx
push 0x13
mov word [ebp - 0x44], cx
push str.StaffcopFLogKeyword
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], edi
call fcn.00407db0
mov byte [ebp - 4], 0x1b
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x44]
push eax
push 1
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, ebx
call fcn.00509e30
mov byte [ebp - 4], 0x1d
cmp dword [ebp - 0x30], 8
jb 0x4b5734
mov edx, dword [ebp - 0x44]
push edx
call fcn.00553d26
add esp, 4
mov ebx, 7
xor eax, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], edi
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0x4c], 8
jb 0x4b575b
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00553d26
add esp, 4
xor edx, edx
cmp dword [ebp - 0x68], 8
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], edi
mov word [ebp - 0x60], dx
jb 0x4b577a
mov eax, dword [ebp - 0x7c]
mov edx, eax
cmp eax, edi
jne 0x4b577d
xor eax, eax
jmp 0x4b5791
lea edx, [ebp - 0x7c]
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4b5782
sub eax, ebx
sar eax, 1
push eax
push edx
lea ecx, [esi + 0x2b4]
call fcn.00406040
lea eax, [ebp - 0x10]
push eax
call fcn.0050a4d0
mov edx, dword [ebp - 0x10]
push 8
lea ecx, [ebp - 0x20]
push ecx
push str.StaffcopFLogFrom
push edx
call fcn.0050a410
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemTime]
add esp, 0x14
test eax, eax
je 0x4b57e2
fld qword [ebp - 0x20]
lea eax, [esi + 0x2bc]
push eax
sub esp, 8
fstp qword [esp]
call fcn.004258f0
add esp, 0xc
jmp 0x4b57eb
lea ecx, [esi + 0x2bc]
push ecx
call ebx
mov eax, dword [ebp - 0x10]
push 8
lea edx, [ebp - 0x28]
push edx
push 0x59e2c0
push eax
call fcn.0050a410
add esp, 0x10
test eax, eax
je 0x4b5820
fld qword [ebp - 0x28]
lea ecx, [esi + 0x2cc]
push ecx
sub esp, 8
fstp qword [esp]
call fcn.004258f0
add esp, 0xc
jmp 0x4b5829
lea edx, [esi + 0x2cc]
push edx
call ebx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x68], 8
jb 0x4b5849
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.00553d26
add esp, 4
xor edx, edx
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x6c], edi
mov word [ebp - 0x7c], dx
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