Function at 0x4a6ad0
Capabilities:
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x508]
sub esp, 0x508
push 0xffffffffffffffff
push 0x63f4f0
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x6eed24]
xor eax, ebp
mov dword [ebp + 0x504], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push 0
push 0
push 0x1009
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebx + 0x78]
lea edx, [ebp - 0x3c]
push edx
push 0
push 0
push dword [ebx + 0x64]
mov eax, dword [ecx]
push ecx
mov dword [ebp - 4], 0
call dword [eax + 0x48]
mov esi, eax
test esi, esi
jns 0x4a6c1c
mov dword [ebp - 0x1c], 0
mov edx, dword [ebx + 0x78]
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push dword [ebx + 0x64]
mov ecx, dword [edx]
push edx
mov byte [ebp - 4], 1
call dword [ecx + 0x50]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push esi
call fcn.004d1050
add esp, 0xc
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 3
test eax, eax
jne 0x4a6bbb
mov eax, 0x649aa0
push eax
push esi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x50]
push str._r_n_ENUM_ERROR:_foder__ls___code_08X__desc__ls__r_n
push eax
call fcn.004034c0
add esp, 0x14
mov eax, dword [ebp - 0x50]
mov byte [ebp - 4], 4
test eax, eax
je 0x4a6be5
push eax
call fcn.00446420
add esp, 4
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 5
test eax, eax
je 0x4a6bf9
push eax
call fcn.00446420
add esp, 4
push dword [ebp - 0x1c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x4a750f
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
push edx
push eax
mov byte [ebp - 4], 7
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x4a74cc
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
push eax
mov byte [ebp - 4], 8
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov dword [ebp - 0x44], 0
mov ecx, dword [ebx + 0x78]
lea edx, [ebp - 0x44]
push edx
push dword [ebp - 0x1c]
mov byte [ebp - 4], 9
mov eax, dword [ecx]
push ecx
call dword [eax + 0x54]
mov dword [ebp - 0x38], 0
mov ecx, dword [ebx + 0x78]
lea edx, [ebp - 0x38]
push edx
push dword [ebp - 0x44]
mov byte [ebp - 4], 0xa
mov eax, dword [ecx]
push 0
push dword [ebp - 0x1c]
push ecx
call dword [eax + 0x50]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x58]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
push 0x40
lea eax, [ebp + 0x4c4]
push 0
push eax
call fcn.004b40a0
add esp, 0xc
lea eax, [ebp + 0x4c4]
push 0x1f
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call dword [sym.imp.SHLWAPI.dll_StrFormatByteSizeW]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x68]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x64]
xor ebx, ebx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
push 0x240
push ebx
mov byte [ebp - 4], 0xb
call fcn.00446560
mov edi, eax
add esp, 8
test edi, edi
je 0x4a6d21
xor eax, eax
mov dword [ebp - 0x20], 0x11f
mov ebx, edi
mov word [edi], ax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0x100
mov word [edi + 0x200], ax
jmp 0x4a6d26
mov edi, 0x649aa0
cmp dword [ebp - 0x60], 0
jne 0x4a6d38
xor eax, eax
xor ecx, ecx
mov word [edi], ax
jmp 0x4a6e43
lea eax, [ebp + 0x2b4]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0xff
lea eax, [ebp + 0x2c4]
mov esi, 0x100
push eax
push 0
lea eax, [ebp + 0x2b4]
mov dword [ebp - 0x10], esi
push eax
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
xor ecx, ecx
mov edx, eax
test eax, eax
jle 0x4a6e43
dec eax
mov dword [ebp - 0x30], eax
cmp word [ebp + 0x2bc], cx
jne 0x4a6d95
cmp word [ebp + 0x2be], cx
je 0x4a6ddf
mov ecx, 0x20
mov word [ebp + eax*2 + 0x2c4], cx
lea eax, [edx + edx]
cmp eax, 0x200
jae 0x4a7548
lea ecx, [ebp + 0x2c4]
add ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0xff
sub eax, edx
push eax
push ecx
push 0
lea eax, [ebp + 0x2b4]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
add eax, dword [ebp - 0x30]
cmp eax, 0x100
jg 0x4a6deb
mov esi, eax
mov dword [ebp - 0x10], eax
add esi, esi
lea eax, [ebp + 0x2c4]
push esi
push eax
push edi
call fcn.004b3b20
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp eax, dword [ebp - 0x20]
jbe 0x4a6e43
lea esi, [eax + 0x20]
and esi, 0xffffffe0
lea eax, [esi + esi]
push eax
push ebx
call fcn.00446560
add esp, 8
test eax, eax
je 0x4a6e50
test ebx, ebx
jne 0x4a6e35
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov word [eax + ecx*2], dx
mov ecx, dword [ebp - 0x10]
mov ebx, eax
lea eax, [esi - 1]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
test ebx, ebx
je 0x4a6e50
xor eax, eax
mov word [ebx + ecx*2], ax
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4a6e7c
mov dword [ebp - 0x14], 0
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 0xd
call dword [ecx + 8]
mov byte [ebp - 4], 0xe
call fcn.004a59b0
mov ecx, eax
test ecx, ecx
je 0x4a7557
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x4a6f39
mov edi, ecx
lea edx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4a6eb1
sub edi, edx
sar edi, 1
je 0x4a6f39
mov eax, dword [esi - 0xc]
mov edx, ecx
sub edx, esi
mov dword [ebp - 0x2c], eax
sar edx, 1
mov dword [ebp - 0x10], edx
test edi, edi
js 0x4a754d
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4a6ef9
push edi
lea ecx, [ebp - 0x30]
call fcn.004a7570
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x2c]
ja 0x4a6f15
mov ecx, dword [esi - 8]
lea eax, [edi + edi]
push eax
lea eax, [esi + edx*2]
push eax
lea eax, [ecx + ecx]
push eax
push esi
call fcn.004a8b50
jmp 0x4a6f22
push edi
push dword [ebp - 0x34]
push dword [esi - 8]
push esi
call fcn.004a4e60
add esp, 0x10
cmp edi, dword [esi - 8]
jg 0x4a754d
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x4a6f92
cmp dword [esi - 0xc], 0
lea edx, [esi - 0x10]
mov edi, dword [edx]
mov byte [ebp - 4], 0x10
je 0x4a6f8e
mov eax, dword [edx + 0xc]
lea ecx, [edx + 0xc]
shr eax, 0x1f
test al, al
je 0x4a6f6d
cmp dword [edx + 8], 0
jl 0x4a754d
xor eax, eax
mov dword [edx + 4], 0
mov word [esi], ax
jmp 0x4a6f8e
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4a6f81
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 0xf
push 0x2b4
lea eax, [ebp]
push 0
push eax
call fcn.004b40a0
mov eax, dword [ebp - 0x40]
lea ecx, [ebp]
add esp, 0xc
and eax, 0x100000
neg eax
sbb eax, eax
push 0x4410
push 0x2b4
and eax, 0xffffff90
push ecx
sub eax, 0xffffff80
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp + 4]
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
call fcn.004a59b0
mov ecx, eax
test ecx, ecx
je 0x4a7557
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x11
call fcn.004a4d50
test al, al
jne 0x4a700a
push edi
lea ecx, [ebp - 0x10]
call fcn.004a4b10
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x10]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa4], edi
cmp eax, 0xfffffffd
je 0x4a70b8
mov dword [ebp - 0xb8], 3
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [ebp - 0x18]
push 0
push 0x104d
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xf0], eax
lea eax, [ebp + 0x214]
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xf4]
push eax
mov eax, dword [ebp - 0x18]
push 0
push 0x104c
mov dword [ebp - 0xe8], 0
push dword [eax + 4]
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xf4], 1
mov dword [ebp - 0xec], 2
call dword [sym.imp.USER32.dll_SendMessageW]
test dword [ebp - 0x40], 0x100000
je 0x4a71b7
xor eax, eax
xor ecx, ecx
mov word [ebp + 0x4c4], ax
jmp 0x4a71a0
movzx eax, word [ecx + 0x649c60]
lea ecx, [ecx + 2]
mov word [ebp + ecx + 0x4c2], ax
test ax, ax
jne 0x4a71a0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x12c], eax
lea eax, [ebp + 0x4c4]
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x130]
push eax
mov eax, dword [ebp - 0x18]
push 0
push 0x104c
mov dword [ebp - 0x124], 0
push dword [eax + 4]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x128], 3
call dword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
jne 0x4a7271
mov ebx, 0x649aa0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x16c]
push eax
mov eax, dword [ebp - 0x18]
push 0
push 0x104c
mov dword [ebp - 0x160], 0
push dword [eax + 4]
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x16c], 1
mov dword [ebp - 0x164], 1
mov dword [ebp - 0x158], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x54]
lea eax, [ebp - 0x28]
push dword [ebp - 0x58]
push 0x666f04
push eax
call fcn.004034c0
mov ebx, dword [ebp - 0x28]
add esp, 0x10
mov ecx, 0x649aa0
test ebx, ebx
je 0x4a7341
mov ecx, ebx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1a8]
push eax
mov eax, dword [ebp - 0x18]
push 0
push 0x104c
mov dword [ebp - 0x19c], 0
push dword [eax + 4]
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x1a8], 1
mov dword [ebp - 0x1a0], 4
mov dword [ebp - 0x194], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x18]
push 0
push 0x10a4
mov dword [ebp - 0x6c], 0
push dword [eax + 4]
mov dword [ebp - 0x7c], 0x14
mov dword [ebp - 0x4c], 2
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x74], 2
call dword [sym.imp.USER32.dll_SendMessageW]
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4a744a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a7462
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x13
test ebx, ebx
je 0x4a7473
push ebx
call fcn.00446420
add esp, 4
push dword [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x4a74a2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x15
test eax, eax
je 0x4a74b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
push edx
push eax
mov byte [ebp - 4], 7
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov ebx, dword [ebp - 0x18]
jmp 0x4a6c34
mov edx, dword [ebx + 0x28]
test edx, edx
js 0x4a74e5
mov al, byte [ebx + 0x24]
lea ecx, [ebx + 0x24]
mov byte [ebp - 0x34], al
push dword [ebp - 0x34]
push edx
call fcn.004a5180
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x8000
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x16
test eax, eax
je 0x4a750f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 0x17
test eax, eax
je 0x4a7523
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x504]
xor ecx, ebp
call fcn.004b2558
lea esp, [ebp + 0x508]
pop ebp
ret
call fcn.004b27ae
push 0x80070057
call fcn.00408330
push 0x80004005
call fcn.00408330
int3