Function at 0x40bf60
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
push ebx
push esi
push edi
push 1
or dword [ebp - 0xc], 0xffffffff
pop ebx
push ebx
push ebx
push ebx
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push ebx
push 0x1003
push dword [ebp + 8]
mov dword [0x42b5c8], eax
call esi
and dword [ebp - 0x78], 0
lea eax, [ebp - 0x7c]
push eax
mov edi, 0x101b
push 0
push edi
push dword [ebp + 8]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x7c], 3
call esi
lea eax, [ebp - 0x7c]
push eax
push ebx
push edi
push dword [ebp + 8]
call esi
mov dword [ebp - 8], ebx
mov al, byte [ebp - 8]
and byte [ebp - 2], 0
add al, 0x40
mov byte [ebp - 3], 0x3a
mov byte [ebp - 4], al
lea eax, [ebp - 4]
push eax
call fcn.00404c94
test eax, eax
jne 0x40c171
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 8]
call fcn.0041cb98
pop ecx
test eax, eax
pop ecx
jne 0x40c171
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1d8]
push eax
call fcn.0041bb30
lea eax, [ebp - 0x1d8]
push 0x427464
push eax
call fcn.0041bb40
add esp, 0x10
lea eax, [ebp - 0x338]
push 0x101
push 0x160
push eax
lea eax, [ebp - 0x1d8]
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x338]
push 0xffffffffffffffff
push dword [0x42b5c8]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov edi, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1d8]
push eax
call fcn.0041bb30
lea eax, [ebp - 0x1d8]
pop ecx
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xc]
inc eax
pop ecx
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x88], edi
lea eax, [ebp - 0xa4]
xor edi, edi
push eax
push edi
push 0x1007
mov dword [ebp - 0xa4], 3
push dword [ebp + 8]
mov dword [ebp - 0x9c], edi
call esi
mov dword [ebp - 0xc], eax
mov eax, dword [0x42b4ec]
cmp eax, edi
je 0x40c0ef
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 4]
push ecx
call eax
test eax, eax
je 0x40c138
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
fild qword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
push edi
fmul qword [0x424448]
fild qword [ebp - 0x34]
faddp st(1)
jmp 0x40c118
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x54]
fild qword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x2c]
mov dword [ebp - 0x10], edi
push edi
fmulp st(1)
fild qword [ebp - 0x14]
fmulp st(1)
fmul qword [0x424440]
push ecx
push ecx
fstp qword [esp]
call fcn.0040bd40
push eax
lea eax, [ebp - 0x1d8]
push eax
call fcn.0041bb30
add esp, 0x14
lea eax, [ebp - 0x1d8]
push 0x427800
push eax
call fcn.0041bb40
lea eax, [ebp - 0x1d8]
pop ecx
mov dword [ebp - 0xc0], eax
pop ecx
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xcc], ebx
push eax
push dword [ebp - 0xc]
push 0x102e
push dword [ebp + 8]
call esi
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x1b
jl 0x40bfc4
push 0xffff
mov edi, 0x101e
push 0
push edi
push dword [ebp + 8]
call esi
push 0xffff
push ebx
push edi
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x44]
push 0
sub edi, dword [ebp - 0x4c]
push 0
push 0x101d
push dword [ebp + 8]
call esi
push 0
push ebx
mov ebx, dword [ebp + 8]
push 0x101d
push ebx
mov dword [ebp - 0xc], eax
call esi
mov ecx, dword [ebp - 0xc]
add ecx, eax
cmp ecx, edi
jge 0x40c1e7
sub edi, eax
movzx eax, di
push eax
push 0
push 0x101e
push ebx
call esi
cmp dword [0x427290], 0x40046
jl 0x40c20b
xor edi, edi
push edi
push edi
push 0x1037
push ebx
call esi
or al, 0x29
push eax
push edi
push 0x1036
push ebx
call esi
pop edi
pop esi
pop ebx
leave
ret