Function at 0x40e908
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x45e884
call fcn.0041f258
sub esp, 0x5b0
test ecx, ecx
je 0x40e921
mov eax, dword [ecx + 4]
jmp 0x40e923
xor eax, eax
push ebx
push esi
push edi
push 0x422
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
push 0
push 0
push 0x1037
push esi
mov dword [ebp - 0x10], esi
call ebx
or eax, 0x24
push eax
push 0
push 0x1036
push esi
call ebx
mov edx, esi
lea ecx, [ebp - 0xa8]
call fcn.0040d94b
mov ebx, dword [ebp - 0xa0]
sub ebx, dword [ebp - 0xa8]
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 4
push 3
sub ebx, eax
pop eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, 0x9c95
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.0041c337
xor edx, edx
mov dword [ebp - 4], edx
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
lea edi, [ebp - 0x44]
mov dword [ebp - 0x5c], 0xf
cmovae ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x5c]
mov edi, dword [ebp - 0x10]
push eax
push edx
push 0x1061
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x9c8c
lea ecx, [ebp - 0xc0]
call fcn.0041c337
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
push eax
call fcn.004015da
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.004017c6
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
sub ebx, esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x5c]
push eax
push 1
push 0x1061
push edi
call esi
mov ebx, 0x2b4
lea eax, [ebp - 0x3b0]
push ebx
push 0
push eax
call fcn.00421460
add esp, 0xc
lea eax, [ebp - 0x3b0]
push 0x4011
push ebx
push eax
push 0x80
push str..txt
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
push 1
push 0x1003
push edi
call esi
call fcn.00409c5e
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
test ecx, ecx
jle 0x40ec04
mov ecx, eax
call fcn.00409c55
mov ebx, eax
test ebx, ebx
je 0x40ebf4
mov ecx, ebx
call fcn.00409c1c
test al, al
je 0x40ebf4
push 0x20a
lea eax, [ebp - 0x5bc]
push 0
push eax
call fcn.00421460
add esp, 0xc
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x40eac3
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0x5bc]
push 0x105
push eax
call fcn.0042a0a8
lea eax, [ebp - 0x5bc]
push 0x20
push eax
call fcn.0042180b
add esp, 0x14
test eax, eax
je 0x40eaef
xor ecx, ecx
mov word [eax], cx
push 0x511
push 0x2b4
lea eax, [ebp - 0x3b0]
push eax
push 0x80
lea eax, [ebp - 0x5bc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0
push 0
push 0x1004
push edi
call esi
and dword [ebp - 0x90], 0
mov esi, eax
xor ecx, ecx
mov dword [ebp - 0x98], 0xb
push 3
pop eax
test esi, esi
mov dword [ebp - 0x94], esi
cmove ecx, eax
and dword [ebp - 0x88], 0
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x8c], ecx
push eax
mov dword [ebp - 0x84], eax
call fcn.0042a10c
pop ecx
mov dword [ebp - 0x80], eax
lea edi, [ebp - 0x78]
mov eax, dword [ebp - 0x3ac]
push 7
pop ecx
mov dword [ebp - 0x7c], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x98]
push eax
push 0
push 0x104d
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0xfc]
mov dword [ebp - 0xec], 0xf000
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x102b
push edi
mov dword [ebp - 0xf0], 0x2000
call esi
cmp dword [ebx + 0x14], 8
jb 0x40ebc1
mov ebx, dword [ebx]
lea eax, [ebx + 2]
xor ecx, ecx
inc ecx
mov dword [ebp - 0x84], eax
push eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x90], ecx
call fcn.0042a10c
pop ecx
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x98]
push eax
push 0
push 0x104c
push edi
call esi
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x18]
jl 0x40ea83
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004017c6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret