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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x58cd10
mov esi, ecx
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24], esp
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x18]
mov dword fs:[0], edx
mov edx, dword [ebp + 0x14]
push eax
sub esp, 0x58
mov eax, esp
cmp dword [ebp + 0x20], 0
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], 0
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], 0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], 0
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x28], esi
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 7
mov word [eax + 0x20], 0
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x14], edx
lea edx, [ebp - 0x40]
mov dword [eax + 0x18], edx
lea edx, [ebp - 0x58]
mov dword [eax + 0x1c], edx
setne byte [ebp - 0x1d]
mov dword [eax + 0x38], ecx
lea ecx, [ebp - 0x70]
setne byte [eax + 0x3c]
setne byte [eax + 0x40]
mov byte [eax + 0x44], 0
mov byte [eax + 0x48], 0
mov byte [eax + 0x4c], 0
mov dword [eax + 0x50], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 0x54], ecx
mov ecx, esi
mov dword [eax + 0x58], 0
call fcn.00583240
mov esp, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x58c9fe
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x58c9f4
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x58ca92
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x58ca35
mov eax, dword [ebp - 0x58]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x58ca2b
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x58ca9e
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [ebp - 0x5c]
cmp ecx, 8
jb 0x58ca6c
mov eax, dword [ebp - 0x70]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x58ca62
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x58caaa
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov eax, dword [ebp - 0x28]
mov cl, byte [ebp - 0x1d]
mov dword [eax], vtable.LogOutHTMLControl.0
mov byte [eax + 0x140], cl
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
mov dword [ebp - 0x10], 0
call fcn.006207e0
mov dword [ebp - 0x10], 1
call fcn.006207e0
mov dword [ebp - 0x10], 2
call fcn.006207e0
nop word cs:[eax + eax]
push ebp
sub esp, 0x5c
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x5c
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x5c
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x5c
add ebp, 0xc
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x58cb32
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x58cb28
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x58cba5
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x58cb69
mov eax, dword [ebp - 0x58]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x58cb5f
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x58cba5
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [ebp - 0x5c]
cmp ecx, 8
jb 0x58cba0
mov eax, dword [ebp - 0x70]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x58cb96
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x58cba5
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
add esp, 0x5c
pop ebp
ret
call fcn.006207e0
int3