Function at 0x4089d0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540486
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x5a38c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 0x4000
mov esi, ecx
push 0x160
lea ecx, [ebp - 0x2e0]
push ecx
push 0
push 0
mov dword [ebp - 0x30c], esi
mov dword [ebp - 0x2e8], eax
call edi
push 0x4001
push 0x160
lea edx, [ebp - 0x2e0]
push edx
push 0
push 0
mov ebx, eax
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0
mov dword [ebp - 0x2ec], eax
mov eax, dword [esi + 0x960]
push 0x1003
push eax
call edi
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [esi + 0x960]
push ecx
push 1
push 0x1003
push edx
call edi
mov eax, dword [esi + 0x960]
push 0
push 0
push 0x1009
push eax
call edi
jmp 0x408a90
mov ecx, dword [esi + 0x960]
push 0
push 0
push 0x101c
push ecx
call edi
test eax, eax
jne 0x408a90
push 0xffffffffffffffff
push 0xc8
push eax
push 0x551800
lea ebx, [esi + 0x940]
push eax
mov ecx, ebx
call fcn.00435cae
push 0xffffffffffffffff
push 0x64
push 0
push 0x551934
push 1
mov ecx, ebx
call fcn.00435cae
push 0xffffffffffffffff
push 0x64
push 0
push 0x5517f8
push 2
mov ecx, ebx
call fcn.00435cae
push 0xffffffffffffffff
push 0x73
push 0
push 0x551928
push 3
mov ecx, ebx
call fcn.00435cae
push 0x10
push 0
call fcn.00401930
add esp, 8
push 0
push eax
push 0
push 0
push 0x5515c8
push 0
push 3
mov ecx, ebx
call fcn.00435d03
push 1
push 0
push 0
push 0
push 0
push 4
push 0
push eax
mov ecx, ebx
call fcn.00435d51
mov edx, dword [esi + 0x960]
push 0
push 0
push 0xb
push edx
mov dword [ebp - 0x2f4], 1
call edi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x408e16
mov ecx, dword [ebp - 0x2e8]
inc ecx
dec eax
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x310], ecx
mov dword [ebp - 0x2ec], eax
cmp dword [ebp - 0x2ec], 0
mov edi, dword [ebp - 0x310]
mov dword [ebp - 0x304], edi
jbe 0x408dfa
movsx esi, byte [edi]
neg esi
sbb esi, esi
and esi, 0xffffff90
sub esi, 0xffffff80
xor edx, edx
cmp esi, 0x10
setne dl
mov dword [ebp - 0x2f8], 0
cmp edx, dword [ebp - 0x2f0]
sete al
inc edi
mov byte [ebp - 0x2e1], al
test al, al
je 0x408c42
push esi
push edi
call fcn.00401930
add esp, 8
push 0
push eax
mov eax, dword [ebp - 0x2f4]
push 0
push 0
push edi
push eax
push 3
mov ecx, ebx
call fcn.00435d03
inc dword [ebp - 0x2f4]
xor ecx, ecx
cmp esi, 0x10
sete cl
mov dword [ebp - 0x2f8], eax
push ecx
push 0
push 0
push 0
push 0
push 4
push 0
push eax
mov ecx, ebx
call fcn.00435d51
push 0x410
push 0x160
lea edx, [ebp - 0x180]
push edx
or esi, 0x80
push esi
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 0x2f8]
lea eax, [ebp - 0x70]
push eax
push 2
push ecx
mov ecx, ebx
call fcn.00435810
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp - 0x2e1], 0
lea edi, [edi + eax + 1]
je 0x408ddd
mov esi, dword [edi + 4]
call fcn.00428115
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x408e4c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2e8], eax
mov ecx, esi
and ecx, 0x3ff
neg ecx
sbb ecx, ecx
neg ecx
shr esi, 0xa
add ecx, esi
push ecx
lea edx, [ebp - 0x2e8]
push str._10d_KB
push edx
mov dword [ebp - 4], 0
call fcn.00401560
mov eax, dword [ebp - 0x2e8]
mov esi, dword [ebp - 0x2f8]
add esp, 0xc
push eax
push 1
push esi
mov ecx, ebx
call fcn.00435810
mov ecx, dword [edi + 8]
mov dword [ebp - 0x318], ecx
mov edx, dword [edi + 0xc]
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x318]
push ecx
mov dword [ebp - 0x314], edx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x408e56
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x408e56
mov ax, word [ebp - 0x20]
mov ecx, 0x76c
cmp ax, cx
jae 0x408d24
xor eax, eax
xor ecx, ecx
jmp 0x408d5a
movzx edx, word [ebp - 0x14]
movzx ecx, word [ebp - 0x16]
push 0xffffffffffffffff
push edx
movzx edx, word [ebp - 0x18]
push ecx
movzx ecx, word [ebp - 0x1a]
push edx
movzx edx, word [ebp - 0x1e]
push ecx
movzx eax, ax
push edx
push eax
lea ecx, [ebp - 0x320]
call fcn.00402130
mov eax, dword [ebp - 0x320]
mov ecx, dword [ebp - 0x31c]
mov dword [ebp - 0x2fc], ecx
push str._Y__m__d__H:_M
lea ecx, [ebp - 0x308]
push ecx
lea ecx, [ebp - 0x300]
mov dword [ebp - 0x300], eax
call fcn.00407fb0
mov eax, dword [eax]
push eax
push 3
push esi
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00435810
mov eax, dword [ebp - 0x308]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408db4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2e8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408ddd
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 [ebp - 0x304]
cmp ecx, dword [ebp - 0x2ec]
jb 0x408b91
mov esi, dword [ebp - 0x30c]
mov eax, dword [ebp - 0x2f0]
inc eax
mov dword [ebp - 0x2f0], eax
cmp eax, 2
jl 0x408b78
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x960]
push 0
push 1
push 0xb
push edx
call edi
push 1
mov ecx, ebx
call fcn.00431cb4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527098
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00401050
xor eax, eax
push 0x80070057
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x2fc], eax
call fcn.00401050
int3