Function at 0x10045889
Capabilities:
Get file system object information

Disassembly:
push 0x3d4
mov eax, 0x10080986
call fcn.10057c42
mov esi, ecx
lea ecx, [ebp - 0x94]
call fcn.1001a6b2
and dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.1001a6b2
and dword [ebp - 0x3d0], 0
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10045845
mov edi, eax
lea ebx, [esi + 0x4bc]
mov ecx, ebx
mov dword [esi + 0x4b0], edi
mov dword [esi + 0x4b4], edi
call fcn.1001ad66
test al, al
je 0x1004594c
lea eax, [esi + 0x540]
mov ecx, eax
mov dword [ebp - 0x3d4], eax
call fcn.1001ad66
test al, al
jne 0x10045941
mov ebx, 0x2b4
lea eax, [ebp - 0x3cc]
push ebx
push 0
push eax
call fcn.10058f30
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 0x10045b0c
mov esi, dword [ebp - 0x3d0]
jmp 0x10045b24
push 0x2c
mov ecx, ebx
call fcn.1001b136
mov esi, eax
test esi, esi
jle 0x100459c3
push esi
lea eax, [ebp - 0x19c]
mov ecx, ebx
push eax
call fcn.1001ada3
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.1001a76d
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.10001421
mov ecx, ebx
call fcn.1001ac0c
sub eax, esi
mov ecx, ebx
dec eax
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.1001b15a
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 3
call fcn.1001a76d
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.10001421
jmp 0x100459cf
push ebx
lea ecx, [ebp - 0x94]
call fcn.1001a76d
lea ecx, [ebp - 0x118]
xor ebx, ebx
call fcn.1001ad66
test al, al
jne 0x100459f6
lea ecx, [ebp - 0x118]
call fcn.1001a7e4
push eax
call fcn.10062284
pop ecx
mov ebx, eax
jmp 0x10045a34
lea ecx, [ebp - 0x3d8]
call fcn.10045701
push 0x10
push edi
push edi
push 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.1001a7e4
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.1004578b
mov esi, dword [ebp - 0x3d0]
test esi, esi
jne 0x10045b24
lea ecx, [ebp - 0x3e0]
call fcn.10045701
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.1001a7e4
push eax
call dword [sym.imp.USER32.dll_PrivateExtractIconsW]
cmp eax, 0xffffffff
je 0x10045a95
cmp dword [ebp - 0x3d4], 0xffffffff
je 0x10045a95
cmp dword [ebp - 0x3d4], esi
jne 0x10045a9c
and dword [ebp - 0x3d0], 0
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 1
call fcn.1004578b
mov esi, dword [ebp - 0x3d0]
test esi, esi
jne 0x10045b24
mov ebx, 0x2b4
lea eax, [ebp - 0x3cc]
push ebx
push esi
push eax
call fcn.10058f30
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.1001a7e4
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.1001a7e4
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.10001421
lea ecx, [ebp - 0x94]
call fcn.10001421
mov eax, esi
call fcn.10057bec
ret