Function at 0x405460
Capabilities:
Get file system object information
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44a6e6
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x45d740]
xor eax, esp
mov dword [esp + 0x480], eax
push ebx
push esi
push edi
mov eax, dword [0x45d740]
xor eax, esp
push eax
lea eax, [esp + 0x498]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 0x4000
mov esi, ecx
push 0x160
lea ecx, [esp + 0x1d4]
push ecx
push 0
push 0
mov dword [esp + 0x4c], esi
mov dword [esp + 0x30], eax
call ebx
push 0x4001
push 0x160
lea edx, [esp + 0x1d4]
push edx
push 0
push 0
mov edi, eax
call ebx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ebx, eax
mov eax, dword [esi + 0x818]
push 0x1003
push eax
call edi
mov ecx, dword [esi + 0x818]
push ebx
push 1
push 0x1003
push ecx
call edi
mov edx, dword [esi + 0x818]
push 0
push 0
push 0x1009
push edx
call edi
mov eax, dword [esi + 0x818]
push 0
push 0
push 0x101c
push eax
call edi
test eax, eax
jne 0x405521
push 0xffffffffffffffff
push 0xc8
push eax
push 0x452200
lea ebx, [esi + 0x7f8]
push eax
mov ecx, ebx
call fcn.00410932
push 0xffffffffffffffff
push 0x64
push 0
push 0x452258
push 1
mov ecx, ebx
call fcn.00410932
push 0xffffffffffffffff
push 0x64
push 0
push 0x452208
push 2
mov ecx, ebx
call fcn.00410932
push 0xffffffffffffffff
push 0x73
push 0
push 0x452260
push 3
mov ecx, ebx
call fcn.00410932
push 0x4010
push 0x160
lea ecx, [esp + 0x74]
push ecx
push 0x90
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [esp + 0x70]
push 0
push edx
push 0
push 0
push 0x45224c
push 0
push 3
mov ecx, ebx
call fcn.00410985
push 1
push 0
push 0
push 0
push 0
push 4
push 0
push eax
mov ecx, ebx
call fcn.004109d1
mov eax, dword [esi + 0x818]
push 0
push 0
push 0xb
push eax
mov dword [esp + 0x34], 1
call edi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4058b9
mov ecx, dword [esp + 0x1c]
add ecx, 1
add eax, 0xffffffff
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], 0
mov edi, dword [esp + 0x40]
mov dword [esp + 0x34], edi
jbe 0x40589b
mov dl, byte [edi]
neg dl
mov dword [esp + 0x18], 0
sbb edx, edx
and edx, 0xffffff90
add edx, 0x80
xor eax, eax
mov esi, edx
cmp esi, 0x10
setne al
cmp eax, dword [esp + 0x28]
sete al
add edi, 1
test al, al
mov byte [esp + 0x17], al
je 0x405701
cmp esi, 0xffffffff
jne 0x40566d
mov eax, 0x80
jmp 0x405674
mov eax, esi
or eax, 0x80
push 0x4010
push 0x160
lea ecx, [esp + 0x74]
push ecx
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x24]
push 0
push edx
push 0
push 0
push edi
push eax
push 3
mov ecx, ebx
call fcn.00410985
add dword [esp + 0x24], 1
xor ecx, ecx
cmp esi, 0x10
sete cl
mov dword [esp + 0x18], eax
push ecx
push 0
push 0
push 0
push 0
push 4
push 0
push eax
mov ecx, ebx
call fcn.004109d1
push 0x410
push 0x160
lea edx, [esp + 0x334]
push edx
or esi, 0x80
push esi
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x43c]
push eax
push 2
push ecx
mov ecx, ebx
call fcn.004107d4
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + 0x17], 0
lea edi, [edi + eax + 1]
je 0x405888
mov esi, dword [edi + 4]
call fcn.00412fcd
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40590b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, esi
and ecx, 0x3ff
neg ecx
sbb ecx, ecx
neg ecx
shr esi, 0xa
add ecx, esi
push ecx
lea edx, [esp + 0x24]
push str._10d_KB
push edx
mov dword [esp + 0x4ac], 0
call fcn.0040b0d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
add esp, 0xc
push eax
push 1
push ecx
mov ecx, ebx
call fcn.004107d4
mov edx, dword [edi + 8]
mov dword [esp + 0x5c], edx
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x68], eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x405915
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x405929
mov ax, word [esp + 0x44]
cmp ax, 0x76c
jae 0x4057d1
xor eax, eax
xor ecx, ecx
jmp 0x405806
movzx edx, word [esp + 0x50]
movzx ecx, word [esp + 0x4e]
push 0xffffffffffffffff
push edx
movzx edx, word [esp + 0x54]
push ecx
movzx ecx, word [esp + 0x56]
push edx
movzx edx, word [esp + 0x56]
push ecx
movzx eax, ax
push edx
push eax
lea ecx, [esp + 0x70]
call fcn.0040abd0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x2c]
push ecx
lea esi, [esp + 0x40]
mov dword [esp + 0x30], eax
call fcn.0040acd0
mov edx, dword [esp + 0x18]
mov byte [esp + 0x4a0], 1
mov eax, dword [eax]
push eax
push 3
push edx
mov ecx, ebx
call fcn.004107d4
mov byte [esp + 0x4a0], 0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40585d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4a0], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405888
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0x10
mov ecx, edi
sub ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x1c]
jb 0x40562a
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, 2
mov dword [esp + 0x28], eax
jl 0x405617
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x38]
mov edx, dword [esi + 0x818]
push 0
push 1
push 0xb
push edx
call edi
push 1
mov ecx, ebx
call fcn.0041355b
mov eax, dword [esi + 0x294]
push eax
push 0x4522c8
call fcn.00405940
add esp, 8
mov ecx, dword [esp + 0x498]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x480]
xor ecx, esp
call fcn.00431676
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00402350
xor eax, eax
push 0x80070057
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call fcn.00402350
xor eax, eax
push 0x80070057
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call fcn.00402350
int3