Function at 0x1004517d
Capabilities:
Get file system object information

Disassembly:
push 0x3d4
mov eax, 0x100c3d1c
call fcn.1008268f
mov esi, ecx
lea ecx, [ebp - 0x94]
call fcn.100165e0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.100165e0
and dword [ebp - 0x3d0], 0
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10045110
mov edi, eax
lea ebx, [esi + 0x4bc]
mov ecx, ebx
mov dword [esi + 0x4b0], edi
mov dword [esi + 0x4b4], edi
call fcn.10016ffe
test al, al
je 0x10045240
lea eax, [esi + 0x540]
mov ecx, eax
mov dword [ebp - 0x3d4], eax
call fcn.10016ffe
test al, al
jne 0x10045235
mov ebx, 0x2b4
lea eax, [ebp - 0x3cc]
push ebx
push 0
push eax
call fcn.100852c0
add esp, 0xc
mov esi, 0x110
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp edi, eax
lea ecx, [esi + 1]
lea eax, [ebp - 0x3cc]
cmovle esi, ecx
mov ecx, dword [ebp - 0x3d4]
push esi
push ebx
push eax
push 0x80
jmp 0x10045400
mov esi, dword [ebp - 0x3d0]
jmp 0x10045418
push 0x2c
mov ecx, ebx
call fcn.1001745d
mov esi, eax
test esi, esi
jle 0x100452b7
push esi
lea eax, [ebp - 0x19c]
mov ecx, ebx
push eax
call fcn.1001705b
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.10016744
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.100166c6
mov ecx, ebx
call fcn.10016e94
sub eax, esi
mov ecx, ebx
dec eax
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.10017481
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 3
call fcn.10016744
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.100166c6
jmp 0x100452c3
push ebx
lea ecx, [ebp - 0x94]
call fcn.10016744
lea ecx, [ebp - 0x118]
xor ebx, ebx
call fcn.10016ffe
test al, al
jne 0x100452ea
lea ecx, [ebp - 0x118]
call fcn.100033d4
push eax
call fcn.1009a4af
pop ecx
mov ebx, eax
jmp 0x10045328
lea ecx, [ebp - 0x3d8]
call fcn.10044fcc
push 0x10
push edi
push edi
push 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.100033d4
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
lea ecx, [ebp - 0x3d8]
mov dword [ebp - 0x3d0], eax
mov byte [ebp - 4], 1
call fcn.10045056
mov esi, dword [ebp - 0x3d0]
test esi, esi
jne 0x10045418
lea ecx, [ebp - 0x3e0]
call fcn.10044fcc
or dword [ebp - 0x3d4], 0xffffffff
lea eax, [ebp - 0x3d4]
push 0x10
push 1
push eax
lea eax, [ebp - 0x3d0]
mov byte [ebp - 4], 5
push eax
push edi
push edi
push ebx
lea ecx, [ebp - 0x94]
call fcn.100033d4
push eax
call dword [sym.imp.USER32.dll_PrivateExtractIconsW]
cmp eax, 0xffffffff
je 0x10045389
cmp dword [ebp - 0x3d4], 0xffffffff
je 0x10045389
cmp dword [ebp - 0x3d4], esi
jne 0x10045390
and dword [ebp - 0x3d0], 0
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 1
call fcn.10045056
mov esi, dword [ebp - 0x3d0]
test esi, esi
jne 0x10045418
mov ebx, 0x2b4
lea eax, [ebp - 0x3cc]
push ebx
push esi
push eax
call fcn.100852c0
add esp, 0xc
mov esi, 0x110
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp edi, eax
lea ecx, [esi + 1]
lea eax, [ebp - 0x3cc]
cmovle esi, ecx
lea ecx, [ebp - 0x94]
push esi
push ebx
push eax
call fcn.100033d4
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
neg eax
lea ecx, [ebp - 0x94]
sbb eax, eax
and eax, 0xffffff90
sub eax, 0xffffff80
push eax
call fcn.100033d4
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, dword [ebp - 0x3cc]
mov dword [ebp - 0x3d0], esi
lea ecx, [ebp - 0x118]
call fcn.100166c6
lea ecx, [ebp - 0x94]
call fcn.100166c6
mov eax, esi
call fcn.10082639
ret