Function at 0x412f30
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x461989
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x20]
mov dword [esp + 0x240], 2
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x28]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
call fcn.00406d40
mov dx, word [0x47a15c]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46]
mov word [esp + 0x44], dx
add esp, 0x14
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x248]
lea ecx, [esp + 0x30]
push eax
push 0x104
push ecx
call fcn.004088b0
mov eax, dword [0x46f42c]
mov ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov edx, dword [eax - 0xc]
lea esi, [eax - 0xc]
cmp edx, 1
mov byte [esp + 0x240], 5
mov ebp, 0x3e8
jg 0x412ff4
cmp dword [eax - 4], ebp
jge 0x413043
mov edi, dword [eax - 8]
cmp edi, ebp
jle 0x412ffd
mov ebp, edi
push ebp
lea ecx, [esp + 0x18]
call fcn.00408040
test eax, eax
jne 0x413013
mov ecx, dword [esp + 0x10]
xor ebx, ebx
jmp 0x413045
lea edx, [edi + edi + 2]
lea eax, [esi + 0xc]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [ebp + ebp + 2]
push eax
push ecx
push edx
call fcn.00407060
mov eax, dword [esp + 0x24]
add esp, 0x10
push esi
mov dword [eax - 8], edi
call fcn.00408420
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [ecx - 0xc]
lea edi, [ecx - 0xc]
cmp eax, 1
mov ebp, 0x3e8
jg 0x41305a
cmp dword [ecx - 4], ebp
jge 0x4130a1
mov esi, dword [ecx - 8]
cmp esi, ebp
jle 0x413063
mov ebp, esi
push ebp
lea ecx, [esp + 0x14]
call fcn.00408040
test eax, eax
jne 0x413075
xor ecx, ecx
jmp 0x4130a1
lea ecx, [esi + esi + 2]
lea edx, [edi + 0xc]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [ebp + ebp + 2]
push edx
push eax
push ecx
call fcn.00407060
mov edx, dword [esp + 0x20]
add esp, 0x10
push edi
mov dword [edx - 8], esi
call fcn.00408420
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x24c]
push ebx
push ecx
push edi
call fcn.00402230
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.00408290
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
mov ecx, dword [esp + 0x14]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
mov word [edx + eax*2], 0
call fcn.00408290
mov eax, dword [esp + 0x10]
push eax
call esi
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x10]
mov word [edx + eax*2], 0
lea eax, [esp + 0x18]
push eax
push edi
call fcn.00402170
mov esi, dword [esp + 0x268]
mov ecx, dword [esp + 0x258]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
add esp, 8
mov dword [esi + 0x630], ecx
lea ecx, [esi + 0x298]
mov dword [esi + 0x8c], edx
push eax
push 0x64
push ecx
call fcn.004088b0
mov edx, dword [esp + 0x10]
lea eax, [esi + 0x360]
push edx
push 0x64
push eax
call fcn.004088b0
push edi
lea ecx, [esi + 0x90]
push 0x104
push ecx
call fcn.004088b0
lea edx, [esp + 0x30]
lea eax, [esi + 0x428]
push edx
push 0x104
push eax
call fcn.004088b0
mov ecx, dword [esp + 0x18]
lea edx, [esi + 0x634]
push ecx
push 0x14
push edx
call fcn.004088b0
mov eax, dword [esp + 0x254]
lea ecx, [esi + 0x64]
push eax
push 0x14
push ecx
call fcn.004088b0
mov edx, dword [esp + 0x258]
push edx
push 0x64
push esi
call fcn.00413ac0
mov eax, dword [esp + 0x25c]
add esi, 0x660
push eax
push 0x28
push esi
call fcn.00413ac0
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 4
call fcn.00408010
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 3
call fcn.00408010
lea ecx, [esp + 0x10]
mov byte [esp + 0x240], 2
call fcn.00408010
lea ecx, [esp + 0x254]
mov byte [esp + 0x240], 1
call fcn.00408010
lea ecx, [esp + 0x258]
mov byte [esp + 0x240], 0
call fcn.00408010
lea ecx, [esp + 0x25c]
mov dword [esp + 0x240], 0xffffffff
call fcn.00408010
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x234
ret 0x1c