Function at 0x45ca70
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa7c
mov eax, dword [0x5bd344]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, ecx
mov dword [ebp - 0xa38], 0
mov ecx, dword [0x5e8d44]
mov edi, edx
push 0x41becc
push eax
mov dword [ebp - 0xa30], eax
mov dword [ebp - 0xa48], ecx
mov dword [ebp - 0xa24], 0
mov dword [ebp - 0xa3c], 0
mov dword [ebp - 0xa2c], 0
mov dword [ebp - 0xa34], 0
mov dword [ebp - 0xa44], 0
mov dword [ebp - 0xa28], 0
call dword [sym.imp.USER32.dll_GetPropW]
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ebx, eax
push 0x4011
push 0x2b4
lea eax, [ebp - 0xa20]
mov dword [ebp - 0xa40], ebx
push eax
push 0x10
push 0x41be94
call esi
mov eax, dword [ebp - 0xa1c]
push 0x4011
push 0x2b4
mov dword [ebx + 0x218], eax
lea eax, [ebp - 0xa20]
push eax
push 0x80
push 0x41be94
call esi
mov eax, dword [ebp - 0xa1c]
mov esi, dword [ebp - 0xa30]
mov ecx, esi
mov dword [ebx + 0x21c], eax
call fcn.0045c9d0
test edi, edi
je 0x45cf87
cmp word [edi], 0
je 0x45cf87
lea eax, [ebx + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
push eax
call ebx
push 0
push 0
push 0xb
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1009
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x308
lea eax, [ebp - 0x518]
push 0
push eax
call fcn.00583650
add esp, 0xc
lea eax, [ebp - 0x514]
push 0x7f
push 0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x41bee4
push 0
mov dword [ebp - 0x214], 0
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x45cc3e
push 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x45cc3e
mov esi, dword [sym.imp.SHLWAPI.dll_StrChrW]
lea eax, [ebp - 0x514]
push 0x3b
push eax
mov dword [ebp - 0x518], 1
mov dword [ebp - 0x414], eax
call esi
test eax, eax
je 0x45cc38
xor ecx, ecx
mov word [eax], cx
lea ecx, [eax + 2]
mov eax, dword [ebp - 0x518]
push 0x3b
mov dword [ebp + eax*4 - 0x414], ecx
mov eax, dword [ebp - 0x518]
inc eax
mov dword [ebp - 0x518], eax
push dword [ebp + eax*4 - 0x418]
call esi
test eax, eax
jne 0x45cc07
mov esi, dword [ebp - 0xa30]
push edi
lea eax, [ebp - 0x210]
mov dword [ebp - 0xa7c], 7
push eax
mov dword [ebp - 0xa78], 0
mov dword [ebp - 0xa74], 0
mov dword [ebp - 0xa68], 0xffffffff
mov dword [ebp - 0xa64], 0x104
mov dword [ebp - 0xa60], 0xffffffff
call ebx
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x45cec8
mov eax, dword [ebp - 0xa38]
lea edx, [ebp - 0xa28]
push edx
lea edx, [ebp - 0xa3c]
push edx
mov ecx, dword [eax]
lea edx, [ebp - 0xa44]
push edx
lea edx, [ebp - 0x210]
push edx
push 0
push esi
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x45ceba
mov eax, dword [ebp - 0xa38]
lea edx, [ebp - 0xa24]
push edx
push 0x401150
push 0
mov ecx, dword [eax]
push dword [ebp - 0xa3c]
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jne 0x45ceba
mov eax, dword [ebp - 0xa24]
lea edx, [ebp - 0xa34]
push edx
push 0xe0
push esi
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x45ceba
mov eax, dword [ebp - 0xa34]
lea edx, [ebp - 0xa2c]
push 0
push edx
push 1
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x45ceac
mov edi, dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
mov ebx, dword [ebp - 0xa40]
nop dword [eax + eax]
mov eax, dword [ebp - 0xa24]
lea edx, [ebp - 0xa28]
push edx
mov dword [ebp - 0xa28], 0x60000000
lea edx, [ebp - 0xa2c]
push edx
mov ecx, dword [eax]
push 1
push eax
mov eax, dword [ecx + 0x24]
call eax
test dword [ebp - 0xa28], 0x40000000
je 0x45ce8b
cmp dword [ebp - 0x518], 0
jne 0x45cd9a
cmp dword [ebp - 0x214], 0
je 0x45ce11
push 0x250
lea eax, [ebp - 0x768]
push eax
push 1
push dword [ebp - 0xa2c]
push dword [ebp - 0xa24]
call dword [sym.imp.SHELL32.dll_SHGetDataFromIDListW]
test byte [ebp - 0x768], 0x10
jne 0x45ce11
mov ecx, dword [ebp - 0x518]
mov eax, dword [ebp - 0x214]
test ecx, ecx
jne 0x45cddb
test eax, eax
jne 0x45ce8b
xor esi, esi
test ecx, ecx
jle 0x45ce0d
mov eax, dword [ebp + esi*4 - 0x414]
cmp word [eax], 0
je 0x45ce02
push eax
lea eax, [ebp - 0x73c]
push eax
call edi
test eax, eax
jne 0x45ce54
mov ecx, dword [ebp - 0x518]
inc esi
cmp esi, ecx
jl 0x45cde1
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x45ce8b
push 8
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ecx, dword [ebp - 0xa2c]
mov esi, eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0xa24]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0xa24]
push ecx
mov edx, dword [ecx]
mov ecx, dword [edx + 4]
call ecx
test dword [ebp - 0xa28], 0x20000000
mov dword [ebp - 0xa5c], esi
je 0x45ce5f
mov eax, dword [ebx + 0x218]
jmp 0x45ce65
cmp dword [ebp - 0x214], 0
jne 0x45ce8b
jmp 0x45ce11
mov eax, dword [ebx + 0x21c]
mov dword [ebp - 0xa60], eax
lea eax, [ebp - 0xa7c]
push eax
push 0
push 0x104d
push dword [ebp - 0xa30]
call dword [sym.imp.USER32.dll_SendMessageW]
inc dword [ebp - 0xa78]
mov eax, dword [ebp - 0xa34]
lea edx, [ebp - 0xa2c]
push 0
push edx
push 1
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x45cd50
mov eax, dword [ebp - 0xa34]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
mov eax, dword [ebp - 0xa38]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
mov ebx, dword [ebp - 0xa40]
mov eax, dword [ebx + 8]
test eax, eax
je 0x45cedc
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x45ceef
mov ecx, dword [eax]
test ecx, ecx
je 0x45ceef
push eax
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0xa3c]
xor edx, edx
test ecx, ecx
je 0x45cf16
movzx eax, word [ecx]
test ax, ax
je 0x45cf16
mov esi, eax
movzx eax, si
add ecx, eax
add edx, eax
movzx eax, word [ecx]
mov esi, eax
test ax, ax
jne 0x45cf05
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx + 4], edx
mov eax, dword [ebp - 0xa3c]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0xa24]
push 0xfffe
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xa48]
push 0
mov dword [ebx + 0x220], eax
mov ebx, dword [ebp - 0xa30]
push 0x101e
push ebx
call esi
push 0x45d360
push 0
push 0x1030
push ebx
call esi
push 0
push 1
push 0xb
push ebx
call esi
push 0
push 0
push 0x1004
push ebx
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e93d
mov esp, ebp
pop ebp
ret