Function at 0x466a11
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cfd7c
mov eax, dword fs:[0]
push eax
sub esp, 0x8b8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x8b0], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x8c8]
mov dword fs:[0], eax
mov dword [esp + 0x2c], ecx
mov esi, dword [ebp + 8]
xor eax, eax
cmp word [0x520b38], ax
mov ebx, eax
push 2
pop ecx
cmove ebx, ecx
mov dword [esp + 0x28], esi
cmp word [0x520b3a], ax
jne 0x466a79
or ebx, 4
cmp word [0x520b3c], ax
jne 0x466a85
or ebx, 1
cmp word [0x520b3e], ax
jne 0x466a94
or ebx, 0x400
cmp word [0x520b40], ax
jne 0x466aa3
or ebx, 0x200
cmp word [0x520b42], ax
jne 0x466ab2
or ebx, 0x800
cmp word [0x520b44], ax
jne 0x466ac1
or ebx, 0x4000
cmp word [0x520b46], ax
jne 0x466ad0
or ebx, 0x100
cmp word [0x520b48], ax
jne 0x466adf
or ebx, 0x1000
cmp word [0x520b4a], ax
jne 0x466aee
or ebx, 0x10000
mov dword [esp + 0x24], eax
mov dword [esp + 0x8d0], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x1b], al
mov edi, 0x104e0
mov byte [esp + 0x18], al
mov byte [esp + 0x19], al
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x8d4], cl
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x46705f
mov ecx, esi
call fcn.0042f18b
test al, al
je 0x466b59
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push 0x4dd818
push eax
mov ecx, dword [eax]
call dword [ecx]
mov byte [esp + 0x1b], 1
mov edi, 0x820
jmp 0x466be4
mov ecx, esi
call fcn.0042f143
test al, al
je 0x466b6c
push 0x60
mov byte [esp + 0x1c], 1
pop edi
mov ecx, esi
call fcn.0042f24f
mov byte [esp + 0x19], al
test al, al
jne 0x466bc4
and dword [esp + 0x174], 0
lea eax, [esp + 0x178]
push 0x2b0
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0x174]
push 0x808
push 0x2b4
push eax
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp dword [esp + 0x17c], 0
je 0x46705f
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push 0x4dd818
push 0
push dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x46705f
mov eax, dword [0x520a38]
lea esi, [esp + 0x20]
push esi
push edi
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x24]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
jne 0x46705f
push 5
pop ecx
push 5
mov esi, 0x4d3d5c
lea edi, [esp + 0x440]
rep movsd dword es:[edi], dword [esi]
pop ecx
mov esi, 0x4d3d34
lea edi, [esp + 0x450]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x2c]
xor esi, esi
lea ecx, [edi + 0xc]
push dword [ecx + 8]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
lea ecx, [edi + 0x28]
push dword [ecx + 8]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
push dword [edi + 0x3c]
mov dword [edi + 0x40], esi
mov esi, dword [esp + 0x2c]
push dword [esi]
call dword [sym.imp.SHELL32.dll_ILIsEqual]
test eax, eax
jne 0x466c64
push esi
lea ecx, [edi + 0x3c]
call fcn.0042dffa
xor ecx, ecx
call fcn.004bf7b2
call fcn.004bf7a4
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x30], eax
mov edx, dword [ecx]
call dword [edx + 0x14]
and dword [esp + 0x14], 0
mov byte [esp + 0x8d0], 3
lea edx, [esp + 0x14]
mov ecx, dword [esp + 0x20]
push 0
push edx
push 1
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
lea esi, [edi + 0x28]
test eax, eax
jne 0x467007
lea ecx, [esp + 0x174]
call fcn.0042cb1f
mov byte [esp + 0x8d0], 4
lea edx, [esp + 0x34]
mov eax, dword [esp + 0x1c]
push edx
lea edx, [esp + 0x18]
mov dword [esp + 0x38], 0x78c5417b
push edx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x24]
mov ecx, dword [esp + 0x34]
mov edx, 0x68400000
mov eax, ecx
mov dword [esp + 0x414], ecx
and eax, edx
cmp eax, edx
mov eax, ecx
sete byte [esp + 0x1a]
shr eax, 0x1e
shr ecx, 0x1d
and al, 1
and cl, 1
mov dword [esp + 0x38], ecx
je 0x466d12
mov byte [esp + 0x13], 1
test al, al
je 0x466d17
mov byte [esp + 0x13], 0
and dword [esp + 0x464], 0
lea eax, [esp + 0x468]
push 0x24c
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp byte [esp + 0x1b], 0
jne 0x466d8b
cmp byte [esp + 0x18], 0
jne 0x466d8b
push 0x250
lea eax, [esp + 0x468]
push eax
push 1
push dword [esp + 0x20]
push dword [esp + 0x2c]
call dword [sym.imp.SHELL32.dll_SHGetDataFromIDListW]
test eax, eax
jne 0x466d8b
lea ecx, [esp + 0x174]
test dword [esp + 0x464], ebx
jne 0x466fc4
lea eax, [esp + 0x464]
push eax
call fcn.00453f02
jmp 0x466f0d
cmp byte [esp + 0x1a], 0
je 0x466d99
mov edx, 0x8001
jmp 0x466daa
cmp byte [esp + 0x13], 0
jne 0x466da7
cmp byte [esp + 0x38], 0
je 0x466d92
xor edx, edx
inc edx
mov eax, dword [esp + 0x1c]
lea esi, [esp + 0x6c]
and dword [esp + 0x48], 0
and dword [esp + 0x3c], 0
or dword [esp + 0x28], 0xffffffff
mov ecx, dword [eax]
or dword [esp + 0x44], 0xffffffff
push esi
push edx
push dword [esp + 0x1c]
push eax
call dword [ecx + 0x2c]
push 0x104
lea eax, [esp + 0x6b8]
push eax
push dword [esp + 0x1c]
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_StrRetToBufW]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x54]
push edx
lea edx, [esp + 0x440]
push edx
push dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
cmp word [esp + 0x54], 0x15
lea esi, [edi + 0x28]
jne 0x466e22
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x54]
push edx
lea edx, [esp + 0x454]
push edx
push dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
cmp word [esp + 0x54], 7
jne 0x466e95
fld qword [esp + 0x5c]
lea eax, [esp + 0x42c]
push eax
push ecx
push ecx
fstp qword [esp]
call dword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x430]
push eax
call dword [sym.imp.KERNEL32.DLL_SystemTimeToFileTime]
push 0
push 0x989680
push dword [esp + 0x70]
push dword [esp + 0x70]
call fcn.00401c50
sub eax, 0xb6109100
mov ecx, edx
mov dword [esp + 0x28], eax
sbb ecx, 2
mov dword [esp + 0x44], ecx
cmp byte [esp + 0x13], 0
jne 0x466ea3
cmp byte [esp + 0x38], 0
je 0x466eaf
cmp byte [esp + 0x1a], 0
mov byte [esp + 0x40], 1
je 0x466eb4
mov byte [esp + 0x40], 0
push 0xffffffffffffffff
lea eax, [esp + 0x6b8]
push eax
lea ecx, [esp + 0x54]
call fcn.004b9d49
push dword [esp + 0x40]
lea eax, [esp + 0x50]
mov byte [esp + 0x8d4], 5
push dword [esp + 0x40]
lea ecx, [esp + 0x17c]
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x38]
push eax
call fcn.00453e3a
mov byte [esp + 0x8d0], 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], vtable.micro::utils::QString.0
call fcn.004b9e50
mov eax, dword [esp + 0x17c]
shr eax, 0xa
test al, 1
jne 0x466f30
push 0x4dd7e0
lea ecx, [esp + 0x3e0]
call fcn.004b9eea
test al, al
je 0x466f41
mov eax, dword [esp + 0x2c]
shl eax, 8
or eax, 1
mov dword [esp + 0x418], eax
mov al, byte [esp + 0x34]
lea ecx, [edi + 0x3c]
and al, 1
mov byte [esp + 0x420], al
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0042f0ef
push eax
lea ecx, [esp + 0x3e8]
call fcn.0042dffa
cmp dword [esp + 0x30], 0
je 0x466f7e
push dword [esp + 0x30]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
and dword [esp + 0x30], 0
cmp byte [esp + 0x13], 0
jne 0x466f9b
cmp byte [esp + 0x38], 0
jne 0x466f9b
or dword [esp + 0x41c], 0xffffffff
jmp 0x466fae
lea ecx, [esp + 0x3e4]
call fcn.004c08d1
mov dword [esp + 0x41c], eax
lea eax, [esp + 0x174]
mov ecx, esi
push eax
call fcn.0042dd25
lea ecx, [esp + 0x174]
mov byte [esp + 0x8d0], 3
call fcn.0042cbbb
cmp dword [esp + 0x14], 0
je 0x466fe2
push dword [esp + 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
and dword [esp + 0x14], 0
mov byte [esp + 0x8d0], 3
lea edx, [esp + 0x14]
mov eax, dword [esp + 0x20]
push 0
push edx
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
jmp 0x466ca1
mov byte [esp + 0x8d0], 2
cmp dword [esp + 0x14], 0
je 0x467020
push dword [esp + 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor ebx, ebx
mov dword [esp + 0x14], ebx
cmp dword [edi + 0x30], ebx
je 0x467049
mov ecx, esi
push edi
cmp byte [esp + 0x1d], bl
je 0x46703b
push 0x44e982
jmp 0x467040
push 0x44e8bb
push dword [esi + 8]
push ebx
call fcn.0042dc8b
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0xa4]
mov ecx, edi
call fcn.00467570
mov bl, 1
jmp 0x467061
xor bl, bl
mov byte [esp + 0x8d0], 1
mov eax, dword [esp + 0x20]
test eax, eax
je 0x46707c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [esp + 0x20], 0
mov byte [esp + 0x8d0], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x467097
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [esp + 0x1c], 0
or dword [esp + 0x8d0], 0xffffffff
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4670ad
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, bl
mov ecx, dword [esp + 0x8c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8b0]
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret 4