Function at 0x478be0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f2b3
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x414], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x210], 0x123
jne 0x478cd1
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
jne 0x478cba
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 1
je 0x478c66
push 0x583ff8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
and edx, 2
je 0x478cba
mov dword [ebp - 0x2d4], 0
push 0x2b0
push 0
lea eax, [ebp - 0x2d0]
push eax
call fcn.0053c870
add esp, 0xc
push 0x4011
push 0x2b4
lea ecx, [ebp - 0x2d4]
push ecx
push 0x10
push 0x584000
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2d0]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
or edx, 0x1000
mov eax, dword [ebp + 8]
mov dword [eax], edx
xor eax, eax
jmp 0x479140
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 4]
sub edx, 0x42c
mov dword [ebp - 0x10], edx
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x51c
call fcn.0048fc20
cmp dword [ebp - 0x18], 0
jne 0x478d0e
mov eax, 1
jmp 0x479140
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
jne 0x478e32
mov edx, dword [ebp + 8]
mov eax, dword [edx]
and eax, 1
je 0x478db0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
push 0x8001
mov ecx, dword [ebp - 0x14]
add ecx, 0x20c
call fcn.004dfdf0
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004dfdf0
push eax
mov ecx, dword [ebp - 0x414]
add ecx, 0x38
call fcn.004690c0
push 0x7b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
jne 0x478d81
push 0x5c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x478db0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x20c
call fcn.004dfdf0
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004dfdf0
push eax
mov ecx, dword [ebp - 0x414]
add ecx, 0x38
call fcn.004690c0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 2
je 0x478e2d
mov ecx, dword [ebp - 0x14]
add ecx, 0x20c
call fcn.004dfdf0
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 8
call fcn.004dfdf0
push eax
mov ecx, dword [ebp - 0x414]
add ecx, 0x38
call fcn.00469030
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00468df0
mov dword [ebp - 4], 0
push 0x4009
lea ecx, [ebp - 0x2d8]
call fcn.004dfdf0
push eax
mov ecx, dword [ebp - 0x414]
add ecx, 0x38
call fcn.00468f60
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d8]
call fcn.00468e10
jmp 0x47912e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 1
je 0x47912e
lea ecx, [ebp - 0x3f0]
call fcn.0045f300
mov dword [ebp - 4], 1
push 0
mov ecx, dword [ebp - 0x18]
call fcn.0047e020
movzx edx, al
test edx, edx
je 0x478e7d
lea ecx, [ebp - 0x3f0]
call fcn.00476080
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
mov dword [ebp - 0x3f8], eax
jmp 0x478ec4
mov ecx, dword [ebp - 0x18]
call fcn.004dfdf0
mov dword [ebp - 0x418], eax
lea ecx, [ebp - 0x3f0]
call fcn.00476080
push eax
push 0x58cfa0
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.004dfdf0
push eax
mov eax, dword [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x418]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x3f8], eax
cmp dword [ebp - 0x3f8], 0
jge 0x478ef4
mov dword [ebp - 0x40c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f0]
call fcn.00496090
mov eax, dword [ebp - 0x40c]
jmp 0x479140
lea ecx, [ebp - 0x3f4]
call fcn.0045f300
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3f0]
call fcn.004dfdf0
mov dword [ebp - 0x41c], eax
lea ecx, [ebp - 0x3f4]
call fcn.00476080
push eax
push 0x58cfe0
mov ecx, dword [ebp - 0x41c]
push ecx
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx]
mov ecx, dword [eax]
call ecx
mov dword [ebp - 0x3f8], eax
cmp dword [ebp - 0x3f8], 0
jge 0x478f7d
mov dword [ebp - 0x410], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3f4]
call fcn.00496090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f0]
call fcn.00496090
mov eax, dword [ebp - 0x410]
jmp 0x479140
mov dword [ebp - 0x3ec], 0
push 0x10c
push 0
lea edx, [ebp - 0x3e8]
push edx
call fcn.0053c870
add esp, 0xc
mov dword [ebp - 0x3ec], 2
mov dword [ebp - 0x3e8], 0x104
lea ecx, [ebp - 0x3f4]
call fcn.004dfdf0
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x3ec]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x20c
call fcn.004dfdf0
push eax
mov eax, dword [ebp - 0x420]
push eax
mov ecx, dword [ebp - 0x420]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
call eax
mov dword [ebp - 0x3f8], eax
cmp dword [ebp - 0x3e4], 0
jne 0x47902c
push 0x104
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.004dfdf0
push eax
lea eax, [ebp - 0x3e4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRetToBufW]
jmp 0x47910d
cmp dword [ebp - 0x3e4], 1
jne 0x479054
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.004dfdf0
mov ecx, dword [ebp - 0x3e0]
lea edx, [eax + ecx*2]
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], edx
jmp 0x47910d
cmp dword [ebp - 0x3e4], 2
jne 0x47910d
call fcn.004039b0
mov dword [ebp - 0x404], eax
lea ecx, [ebp - 0x3e0]
mov dword [ebp - 0x408], ecx
cmp dword [ebp - 0x408], 0
jne 0x47908d
mov dword [ebp - 0x424], 0
jmp 0x479101
mov edx, dword [ebp - 0x408]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x3fc], eax
cmp dword [ebp - 0x3fc], 0x3fffffff
jle 0x4790bb
mov dword [ebp - 0x428], 0
jmp 0x4790f5
mov eax, dword [ebp - 0x3fc]
shl eax, 1
call fcn.0053fdd0
mov dword [ebp - 0x42c], esp
mov eax, dword [ebp - 0x404]
push eax
mov ecx, dword [ebp - 0x3fc]
push ecx
mov edx, dword [ebp - 0x408]
push edx
mov eax, dword [ebp - 0x42c]
push eax
call fcn.00453ec0
mov dword [ebp - 0x428], eax
mov ecx, dword [ebp - 0x428]
mov dword [ebp - 0x424], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x424]
mov dword [edx + 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3f4]
call fcn.00496090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f0]
call fcn.00496090
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
or edx, 0x1000
mov eax, dword [ebp + 8]
mov dword [eax], edx
xor eax, eax
lea esp, [ebp - 0x430]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 4