Function at 0x40a789
Capabilities:
Get file system object information

Disassembly:
push ebp
sub esp, 0x160
lea ebp, [esp - 4]
mov eax, dword [0x431530]
xor eax, ebp
mov dword [ebp + 0x160], eax
push 0x5c
mov eax, 0x423f30
call fcn.0041a83a
mov esi, dword [ebp + 0x174]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x54]
call fcn.0040316c
and dword [ebp - 4], 0
cmp byte [esi], 0
je 0x40a80c
push dword [esi + 0xc]
lea eax, [ebp - 0x3c]
push dword [esi + 8]
push eax
call fcn.0040f501
push eax
push 0x259
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0040f59d
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.0040a514
push dword [ebp - 0x18]
call fcn.00411b4b
push dword [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.00411b4b
pop ecx
pop ecx
lea ebx, [esi + 0x18]
push 0x5c
mov ecx, ebx
call fcn.0040a5d7
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0040316c
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.0040316c
mov byte [ebp - 4], 4
test edi, edi
jl 0x40a885
inc edi
push edi
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.0040a416
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.0040a514
push dword [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00411b4b
pop ecx
push edi
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.0040a682
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.0040a514
push dword [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00411b4b
pop ecx
jmp 0x40a88e
push ebx
lea ecx, [ebp - 0x48]
call fcn.0040a514
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.0040a6ca
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
call fcn.0040a6ca
push 0xa
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040a642
lea ecx, [ebp - 0x48]
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 7
call fcn.0040a602
push dword [ebp - 0x68]
mov byte [ebp - 4], 9
call fcn.00411b4b
pop ecx
push 0xa
lea ecx, [ebp - 0x30]
call fcn.0040a54b
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040a5aa
push 0xa
lea ecx, [ebp - 0x30]
call fcn.0040a54b
cmp byte [esi + 1], 0
je 0x40a9ad
lea ecx, [ebp - 0x18]
call fcn.0040316c
lea eax, [ebp - 0x5c]
push eax
add esi, 0x10
push esi
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
jne 0x40a932
push 0x42b8b8
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x3ff0c2
call fcn.0041a3f9
push 1
push 1
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0041099f
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.0040a514
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.00411b4b
lea eax, [ebp - 0x24]
mov dword [esp], 0x258
push eax
call fcn.00410b07
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.0040a5aa
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.00411b4b
lea ecx, [ebp - 0x30]
mov dword [esp], 0x426804
call fcn.0040a577
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040a5aa
push dword [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00411b4b
pop ecx
push dword [ebp + 0x16c]
and dword [ebp - 0x20], 0
push edi
lea ecx, [ebp - 0x20]
call fcn.0040a45d
push dword [ebp - 0x30]
push dword [ebp - 0x20]
call fcn.00410f42
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.0040a4f8
mov eax, dword [eax]
push 0x110
push 0x160
lea ecx, [ebp]
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x18]
mov esi, eax
call fcn.00411b4b
pop ecx
test esi, esi
je 0x40aa20
push dword [ebp + 0x170]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push dword [ebp]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x30]
call fcn.00411b4b
push dword [ebp - 0x48]
call fcn.00411b4b
push dword [ebp - 0x3c]
call fcn.00411b4b
push dword [ebp - 0x54]
call fcn.00411b4b
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x160]
xor ecx, ebp
call fcn.0041a82b
add ebp, 0x164
leave
ret 0xc