Function at 0x40a3b0
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4dddd0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
mov eax, dword [0x504f68]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, dword [esp + 0x58]
mov dword [esi], 0x4ede20
mov dword [esi + 4], edi
mov eax, dword [edi]
mov edx, dword [eax + 0x14c]
push esi
mov ecx, edi
call edx
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esi + 8], 0x4ede20
mov dword [esi + 0xc], 0x4ede20
lea ebx, [esi + 8]
lea ebp, [esi + 0xc]
lea ecx, [esp + 0x10]
mov dword [esi], 0x4ee5cc
mov dword [ebx], 0x4ee5d0
mov dword [ebp], 0x4ee5d4
mov dword [esi + 0x10], str.btnClose
mov dword [esi + 0x14], str.btnMin
mov dword [esi + 0x18], str.btnMenu
mov dword [esi + 0x1c], str.btnAllSelect
mov dword [esi + 0x20], str.btnSelectInverse
mov dword [esi + 0x24], str.btnAtOnce
mov dword [esi + 0x28], str.btnCancel
mov dword [esi + 0x2c], str.btnDesktop
mov dword [esi + 0x30], str.btnComputer
mov dword [esi + 0x34], str.btnPartition
mov dword [esi + 0x38], str.btnFolder
mov dword [esi + 0x3c], str.btnFiles
mov dword [esi + 0x44], eax
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
push ecx
push 0x4e9940
mov ecx, edi
call edx
xor ecx, ecx
test eax, eax
setl cl
push ebp
dec ecx
and ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
push 0xc
call fcn.004b383b
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x40a4c3
mov ebp, eax
mov dword [eax + 4], ecx
mov dword [eax], 0x4ede28
mov dword [eax + 8], ebx
mov dword [esp + 0x10], ebp
jmp 0x40a4c9
mov dword [esp + 0x10], ecx
mov ebp, ecx
mov dword [esp + 0x14], ebp
cmp ebp, ecx
je 0x40a4da
mov eax, dword [ebp]
mov edx, dword [eax]
mov ecx, ebp
call edx
mov byte [esp + 0x50], 1
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x3c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
xor ebx, ebx
mov eax, dword [esp + ebx*4 + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0xa4]
mov ecx, edi
call eax
test eax, eax
je 0x40a557
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xdc]
push ebp
call eax
inc ebx
cmp ebx, 0xc
jb 0x40a535
push 0x4ee438
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40a58e
push str.ChangeWindowMessageFilter
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a587
push 1
push 0x80
call eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [0x50fd5c]
mov edx, dword [ecx + 4]
mov ebp, dword [sym.imp.USER32.dll_LoadImageW]
push 0x8000
push 0x10
push 0x10
push 1
push 0x6b
push edx
call ebp
mov ecx, dword [esi + 4]
push eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x5c]
push 0
push 0x80
call edx
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
push eax
call ebx
mov eax, dword [0x50fd5c]
mov ecx, dword [eax + 4]
push 0x8000
push 0x20
push 0x20
push 1
push 0x6b
push ecx
call ebp
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x5c]
push 1
push 0x80
call eax
push eax
call ebx
mov edx, dword [edi]
mov eax, dword [edx + 0xa4]
push str.listContent
mov ecx, edi
call eax
cmp dword [0x50f078], 5
mov dword [esi + 0x40], eax
jbe 0x40a617
call fcn.0040a890
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [esi + 0x18]
mov edx, dword [edx + 0xa4]
push eax
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x140]
push 0
call eax
push esi
call fcn.0040aba0
push 0
push 1
push 0x50fd60
mov ecx, esi
call fcn.0040a980
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx]
mov eax, dword [edx + 0x64]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xe8]
call eax
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx]
mov eax, dword [edx + 0x64]
call eax
mov edx, dword [eax]
push 1
push 0
mov ecx, eax
mov eax, dword [edx + 0x7c]
push 0
call eax
mov byte [esp + 0x50], 0
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x40a68f
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4