Function at 0x4aa4f0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0xacc
mov eax, dword [ecx + 0x20]
push ebp
push esi
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], ecx
je 0x4aa801
mov ebp, dword [esp + 0xadc]
mov ecx, 0xac
xor eax, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x24], esi
push 0x2708
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x28]
push 0x2b4
push eax
push esi
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4aa801
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x2da]
mov word [esp + 0x2d8], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
lea edx, [esp + 0x2d8]
push ebx
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov ecx, dword [0x4d9540]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x2dc]
mov dword [esp + 0x10], ecx
test edx, edx
je 0x4aa5ea
lea eax, [esp + 0x2dc]
shr eax, 0x10
jne 0x4aa5b0
xor ecx, ecx
lea edx, [esp + 0x2dc]
mov cx, dx
push ecx
lea ecx, [esp + 0x14]
call fcn.0040ff70
jmp 0x4aa5ea
lea eax, [esp + 0x2dc]
push eax
call ebx
mov esi, eax
test esi, esi
je 0x4aa5ea
push esi
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
je 0x4aa5ea
mov edi, dword [esp + 0x10]
lea ecx, [esi + esi]
mov edx, ecx
lea esi, [esp + 0x2dc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4d9540]
mov ecx, 0x4e3a5c
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x4aa64c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x4aa64c
push esi
lea ecx, [esp + 0x18]
call fcn.004012f0
test eax, eax
je 0x4aa64c
mov edx, dword [esp + 0x14]
inc esi
push esi
push 0x4e3a5c
push edx
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.00401380
mov eax, dword [esp + 0x14]
push eax
call ebx
mov ecx, dword [esp + 0x14]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x14]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 4]
mov esi, 0x20000000
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
test eax, eax
mov dword [esp + 0x1c], esi
je 0x4aa675
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x28]
push edx
push 1
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
test esi, eax
jne 0x4aa714
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.004b7820
mov ecx, dword [esp + 0x1c]
mov esi, eax
add esp, 8
mov eax, dword [esi]
cmp ecx, eax
je 0x4aa6e5
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4aa6b9
mov edx, dword [0x4d9544]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4aa6c0
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4aa6d0
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00401630
jmp 0x4aa6e5
lea ecx, [esp + 0x14]
call fcn.0040e950
mov eax, dword [esi]
mov dword [esp + 0x14], eax
add eax, 0xfffffff4
push eax
call edi
mov eax, dword [esp + 0x18]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4aa714
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4aa714
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4aa766
mov edx, dword [esp + 0x10]
cmp edx, ecx
je 0x4aa766
mov esi, dword [edx - 0xc]
test esi, esi
jge 0x4aa73b
mov esi, dword [0x4d9544]
add edx, 0xfffffff4
cmp edx, esi
jne 0x4aa742
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4aa74f
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00401630
jmp 0x4aa766
lea ecx, [esp + 0x10]
call fcn.0040e950
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
add eax, 0xfffffff4
push eax
call edi
mov ecx, dword [esp + 0x10]
xor eax, eax
mov edx, dword [ecx - 0xc]
lea ebp, [ecx - 0xc]
cmp edx, 1
jg 0x4aa77e
mov edx, dword [ecx - 4]
test edx, edx
jge 0x4aa7bb
mov ebx, dword [ecx - 8]
test ebx, ebx
jle 0x4aa787
mov eax, ebx
push eax
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
je 0x4aa7bf
mov edi, dword [esp + 0x10]
lea ecx, [ebx + ebx + 2]
mov eax, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov dword [ecx - 8], ebx
call fcn.00401350
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
push eax
push 0x100
push 0x40b
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
lea ecx, [esp + 0x14]
call fcn.0040f900
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [esp + 0x14]
call fcn.004014c0
lea ecx, [esp + 0x10]
call fcn.004014c0
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xacc
ret 4