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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a0cb
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x44e014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.KComponent.0
mov dword [edi + 4], vtable.FalconString.0
mov word [edi + 0xc], 1
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x18], vtable.FalconString.0
mov word [edi + 0x20], 1
mov dword [edi + 0x1c], 0
mov byte [ebp - 4], 1
mov byte [edi + 0x52], 0
call fcn.00403cb0
mov esi, eax
lea ebx, [esi + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 8]
inc ecx
push ebx
mov dword [esi + 8], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 8]
add eax, 0x64
mov dword [edi + 0x2c], 0
cmp byte [ebp + 8], 0
mov dword [edi + 0x3c], eax
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x40], 0x80000000
mov dword [edi + 0x44], 0x80000000
mov dword [edi + 0x48], 0x80000000
mov dword [edi + 0x4c], 0x80000000
mov word [edi + 0x50], 0x101
je 0x402a0b
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x40
call fcn.004254b8
mov ebx, eax
push 0xa
mov dword [ebp + 8], ebx
lea eax, [ebx + 8]
mov dword [ebx], 0x460052
push eax
push dword [0x45036c]
mov dword [ebx + 4], 0x5f0043
call fcn.00423989
mov ecx, ebx
add esp, 0x10
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4028a0
sub ecx, edx
mov eax, 0x5f
sar ecx, 1
push 0xa
mov word [ebx + ecx*2], ax
inc ecx
lea eax, [ebx + ecx*2]
push eax
mov eax, dword [esi]
push eax
call fcn.00423989
mov eax, dword [esi]
add esp, 0xc
inc eax
mov dword [esi], eax
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, ebx
mov dword [ebp - 0x28], vtable.FalconString.0
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4028e5
sub esi, ecx
sar esi, 1
mov dword [ebp - 0x18], esi
je 0x40292e
push 0x28
mov word [ebp - 0x20], ax
call fcn.0041c880
mov ebx, eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
lea ecx, [ebx + 8]
mov dword [ebx], 1
push ecx
mov dword [ebx + 4], 0
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x402936
mov word [ebp - 0x20], 1
xor ebx, ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], ebx
push eax
lea ecx, [edi + 4]
call fcn.00403b50
test ebx, ebx
je 0x402988
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
jne 0x402988
mov eax, dword [ebx + 4]
test eax, eax
je 0x402963
push eax
call fcn.00424cdb
add esp, 4
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x402973
push eax
call fcn.00424cdb
add esp, 4
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push 0x28
push ebx
call fcn.0041c8b0
add esp, 8
push 0x7f00
push 0
mov dword [edi + 0x5c], 0x30
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0xf
mov dword [edi + 0x78], eax
mov dword [edi + 0x74], 0
mov dword [edi + 0x80], 0
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [edi + 0x7c], eax
mov eax, dword [0x45036c]
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x70], eax
cmp byte [edi + 0xd], 0
je 0x4029ed
mov eax, dword [edi + 0x10]
jmp 0x4029fe
mov eax, dword [edi + 8]
test eax, eax
je 0x4029f9
mov eax, dword [eax + 0x20]
jmp 0x4029fe
mov eax, 0x448d6c
mov dword [edi + 0x84], eax
mov dword [edi + 0x64], 0x401fe0
mov eax, dword [0x450360]
test eax, eax
je 0x402a19
mov dword [edi + 0x54], eax
jmp 0x402a46
push 0xc
call fcn.0041c880
add esp, 4
mov esi, eax
mov dword [ebp + 8], esi
push 0x11
mov dword [esi], vtable.KFont.0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
mov dword [0x450360], esi
mov dword [edi + 0x54], esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4