Function at 0x40dd3d
Capabilities:
Get file system object information

Disassembly:
push 0x324
mov eax, 0x55dc25
call fcn.0055b22a
mov dword [ebp - 0x330], ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebx + 0x18]
call fcn.0041c9ae
mov esi, eax
lea edi, [ebp - 0x60]
xor eax, eax
stosd dword es:[edi], eax
lea ecx, [esi + 1]
push ecx
stosd dword es:[edi], eax
lea ecx, [ebx + 0x18]
stosd dword es:[edi], eax
lea eax, [ebp - 0x60]
push eax
call fcn.00402f34
and dword [ebp - 4], 0
lea eax, [ebp - 0x60]
push eax
call fcn.0040dbb4
lea ecx, [ebp - 0x60]
call fcn.0041c889
xor eax, eax
lea edi, [ebp - 0x6c]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x6c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 0x18]
lea eax, [eax + esi*2]
add eax, 2
push eax
call fcn.0041c594
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 1
push eax
call fcn.0040dbb4
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x60]
call fcn.0041c8f8
mov byte [ebp - 4], 0
push dword [ebp - 0x6c]
call fcn.0054b686
pop ecx
lea ecx, [ebp - 0x60]
call fcn.0041c889
cmp byte [ebx], 0
je 0x40dde9
push dword [ebx + 0xc]
lea ecx, [ebp - 0x60]
push dword [ebx + 8]
call fcn.0040dc39
pop ecx
pop ecx
lea ecx, [ebp - 0x60]
call fcn.0041c889
cmp byte [ebx + 1], 0
je 0x40de2f
mov edx, 0x3f4
lea ecx, [ebp - 0x60]
call fcn.0040db5d
push 0x56968c
lea ecx, [ebp - 0x60]
call fcn.0041c936
push ecx
lea eax, [ebp - 0x54]
push 0
push eax
lea ecx, [ebx + 0x10]
call fcn.0041f43d
add esp, 0xc
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x60]
push eax
call fcn.0041c936
push dword [ebp - 0x60]
mov eax, dword [ebp - 0x330]
push dword [ebp + 0xc]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x60]
call fcn.0054b686
or dword [ebp - 0x32c], 0xffffffff
xor esi, esi
pop ecx
mov dword [ebp - 0x328], esi
xor eax, eax
lea edi, [ebp - 0x60]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x60]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebx + 0x18]
push eax
call fcn.0041c61b
mov dword [ebp - 4], 2
test esi, esi
je 0x40dec2
cmp byte [ebx + 2], 0
je 0x40dfeb
mov edi, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x60]
cmp edi, 4
jb 0x40debc
lea ecx, [edi - 4]
mov edx, str..exe
lea ecx, [esi + ecx*2]
call fcn.0041c2ff
test al, al
jne 0x40deef
lea ecx, [edi - 4]
mov edx, str..ico
lea ecx, [esi + ecx*2]
call fcn.0041c2ff
test al, al
jne 0x40deef
push esi
jmp 0x40dfee
lea ecx, [ebp - 0x60]
call fcn.0041c9ae
inc eax
lea ecx, [ebp - 0x60]
push eax
call fcn.0041cb99
lea ecx, [ebp - 0x60]
call fcn.004024ba
test eax, eax
js 0x40dee9
push eax
lea ecx, [ebp - 0x60]
call fcn.0041cb99
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
test edi, edi
jne 0x40df03
push str.__file__
lea ecx, [ebp - 0x60]
call fcn.0041c792
mov esi, dword [ebp - 0x60]
cmp byte [ebx + 2], 0
push 0x20
pop edi
je 0x40df4d
lea ecx, [ebp - 0x4c]
call fcn.0041d5da
lea ecx, [ebp - 0x24]
call fcn.0041c570
push 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
push dword [ebx + 0x18]
call fcn.0041d8f3
test al, al
je 0x40df44
cmp byte [ebp - 0x28], 0
jne 0x40df44
mov eax, dword [ebp - 0x2c]
shr eax, 4
test al, 1
jne 0x40df44
mov edi, dword [ebp - 0x2c]
push dword [ebp - 0x24]
call fcn.0054b686
pop ecx
and dword [ebp - 0x324], 0
lea eax, [ebp - 0x324]
or dword [ebp - 0x320], 0xffffffff
push 0x114
push 0x2b4
push eax
push edi
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x40dfc8
mov edx, dword [ebp - 0x324]
test edx, edx
je 0x40dfc8
mov ecx, dword [ebp - 0x320]
test ecx, ecx
js 0x40dfc1
cmp ecx, dword [ebp - 0x32c]
je 0x40dfc1
mov eax, dword [ebp - 0x328]
test ecx, ecx
jne 0x40dfa2
test eax, eax
jne 0x40dfc1
test eax, eax
mov dword [ebp - 0x32c], ecx
mov eax, dword [ebp + 0x10]
je 0x40dfb2
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x330]
push edx
push eax
call fcn.0040dc06
jmp 0x40dfc8
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
or dword [ebp - 4], 0xffffffff
push esi
call fcn.0054b686
mov esi, dword [ebp - 0x328]
inc esi
mov dword [ebp - 0x328], esi
pop ecx
cmp esi, 2
jb 0x40de60
jmp 0x40dff4
push dword [ebp - 0x60]
call fcn.0054b686
pop ecx
call fcn.0055b1d9
ret 0x10