Function at 0x40a11e
Capabilities:
Access peb ldr_data
Get file system object information
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4934de
mov eax, dword fs:[0]
push eax
sub esp, 0x320
mov eax, dword [0x4bea34]
xor eax, esp
mov dword [esp + 0x318], eax
push ebx
push esi
push edi
mov eax, dword [0x4bea34]
xor eax, esp
push eax
lea eax, [esp + 0x330]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x64]
add eax, 0x304
mov dword [esp + 0x1c], eax
mov eax, dword [0x4c3680]
mov ecx, 0x4c3680
mov dword [esp + 0x20], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
and dword [esp + 0x338], 0
mov eax, dword [ebx + 0x64]
mov eax, dword [eax + 0xe4]
xor ecx, ecx
cmp eax, 2
setne cl
lea eax, [esp + 0x14]
dec ecx
and ecx, 0xfffffff2
add ecx, 0x75
push ecx
push eax
call fcn.0040adb9
push 0x44a
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [ebx + 0x64]
lea edi, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.00435bed
push str.BodyText8
lea ecx, [esp + 0x2c]
call fcn.00401a8f
mov byte [esp + 0x338], 1
mov eax, dword [ebx + 0x64]
lea ecx, [eax + 0x304]
mov eax, dword [ecx]
lea edx, [esp + 0x28]
push edx
call dword [eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [esp + 0x24]
call esi
push 0
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x340], 0
call fcn.00401e14
push 0x3f5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 1
push 0x109d
add ebx, 0x70
push eax
mov dword [esp + 0x34], ebx
mov dword [ebx], eax
call esi
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0xc005
cmp eax, ecx
je 0x40a25f
push ecx
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edi, dword [esp + 0x20]
call fcn.0042a8be
push str.ListItemBold
lea ecx, [esp + 0x2c]
call fcn.00401a8f
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
mov byte [esp + 0x338], 2
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax]
push 1
push eax
push 0x30
push dword [ebx]
call esi
push 0
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x340], 0
call fcn.00401e14
push str.ListItem
lea ecx, [esp + 0x2c]
call fcn.00401a8f
lea eax, [esp + 0x28]
lea ecx, [edi + 0x14]
mov byte [esp + 0x338], 3
push eax
mov dword [esp + 0x1c], ecx
call fcn.0040b56b
push dword [eax]
push 0
push 0x1024
push dword [ebx]
call esi
push 0
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x340], 0
call fcn.00401e14
mov edi, str.DialogBackground
push edi
lea ecx, [esp + 0x2c]
call fcn.00401a8f
lea eax, [esp + 0x28]
mov byte [esp + 0x338], 4
mov ecx, dword [esp + 0x18]
push eax
call fcn.0040b56b
push dword [eax]
push 0
push 0x1001
push dword [ebx]
call esi
push 0
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x340], 0
call fcn.00401e14
push edi
lea ecx, [esp + 0x2c]
call fcn.00401a8f
lea eax, [esp + 0x28]
mov byte [esp + 0x338], 5
mov ecx, dword [esp + 0x18]
push eax
call fcn.0040b56b
push dword [eax]
xor edi, edi
push edi
push 0x1026
push dword [ebx]
call esi
push edi
mov byte [esp + 0x33c], 0
push 1
lea ecx, [esp + 0x30]
call fcn.00401e14
push str.Programs
push ebx
push 0x64
xor esi, esi
pop edx
call fcn.0040ad42
mov esi, dword [esp + 0x24]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0xfffe
push edi
push 0x101e
push dword [esi]
call ebx
push 0x9c
lea eax, [esp + 0x18]
push eax
call fcn.0040adb9
push 9
xor eax, eax
pop ecx
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
xor edi, edi
push eax
mov dword [esp + 0x48], 0x28
mov dword [esp + 0x68], edi
mov dword [esp + 0x4c], 0x1d
mov dword [esp + 0x6c], 1
mov dword [esp + 0x60], edi
mov dword [esp + 0x50], eax
call fcn.0047137a
pop ecx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push eax
push 0xffffffffffffffff
push 0x1091
push dword [esi]
call ebx
push 0x2b0
lea eax, [esp + 0x74]
push edi
push eax
mov dword [esp + 0x78], edi
call fcn.00471300
add esp, 0xc
push 0x4001
push 0x2b4
lea eax, [esp + 0x74]
push eax
push edi
push 0x49fc6c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
push 1
push 0x1003
push dword [esi]
call ebx
mov edi, dword [esp + 0x20]
push 0x3fd
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push str.BodyText8
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.00401a8f
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x28]
mov byte [esp + 0x338], 6
mov eax, dword [ecx]
push edx
call dword [eax]
push 1
push eax
push 0x30
push esi
call ebx
push 0
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x340], 0
call fcn.00401e14
push 0x7b
lea eax, [esp + 0x18]
push eax
call fcn.0040adb9
push dword [esp + 0x14]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x3fc
push dword [edi + 4]
lea esi, [edi + 0x74]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfffffffffffffff0
push eax
mov dword [esi], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 8
cmp eax, ecx
je 0x40a4de
push ecx
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xcdab21
push 0
push 0x409
push dword [esi]
call ebx
push 0x28
push 1
push 0x40a
push dword [esi]
call ebx
mov ebx, esi
call fcn.0042a8be
push 0x49fc6c
push 0x44a
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x3fd
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
push 5
push dword [esi]
call edi
mov eax, dword [esp + 0x24]
push 0
push dword [eax]
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00405e8e
xor eax, eax
inc eax
mov ecx, dword [esp + 0x330]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x318]
xor ecx, esp
call fcn.00470af5
mov esp, ebp
pop ebp
ret