Function at 0x4a91a0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x3cc
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0xac
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
rep stosd dword es:[edi], eax
mov eax, dword [0x4d9540]
lea ecx, [esp + 0x2c]
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x4a9228
lea edx, [esp + 0x2c]
shr edx, 0x10
jne 0x4a91f0
xor eax, eax
lea ecx, [esp + 0x2c]
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.0040ff70
jmp 0x4a9228
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
cmp esi, ebx
je 0x4a9228
push esi
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
je 0x4a9228
mov edi, dword [esp + 0x10]
lea ecx, [esi + esi]
mov eax, ecx
lea esi, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebp, dword [esp + 0x3e4]
push 0x208
lea ecx, [esp + 0x24]
push 0x2b4
mov edx, dword [ebp + 8]
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4a92a1
lea eax, [esp + 0x2c]
test eax, eax
jne 0x4a925a
xor ebx, ebx
jmp 0x4a9267
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00401420
test eax, eax
je 0x4a92a1
mov edi, dword [esp + 0x10]
lea eax, [ebx + ebx]
mov ecx, eax
lea esi, [esp + 0x2c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4a93dd
mov ecx, dword [ebp + 4]
mov dword [esp + 0x18], 0x20038000
mov dword [esp + 0x1c], ecx
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 1
push eax
call dword [edx + 0x24]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4a92ed
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4a92ed
mov edx, dword [eax]
lea esi, [esp + 0x2d4]
push esi
push 1
push ecx
push eax
call dword [edx + 0x2c]
mov eax, dword [0x4d9540]
lea ecx, [esp + 0x14]
push 0
push ecx
sub esp, 0x108
mov ecx, 0x42
lea esi, [esp + 0x3e4]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x124], eax
call fcn.004a9490
mov ecx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
add esp, 0x110
mov ebx, dword [ecx - 8]
test ebx, ebx
je 0x4a93b2
cmp eax, ecx
je 0x4a93b2
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x4a934e
mov edx, dword [0x4d9544]
add eax, 0xfffffff4
cmp eax, edx
jne 0x4a9355
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x4a938f
mov esi, ecx
push ebx
lea ecx, [esp + 0x14]
call fcn.00401420
test eax, eax
je 0x4a93aa
mov edi, dword [esp + 0x10]
lea eax, [ebx + ebx]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
jmp 0x4a93aa
lea ecx, [esp + 0x10]
call fcn.0040e950
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov esi, dword [0x4d9544]
lea edx, [ecx - 0xc]
cmp edx, esi
je 0x4a93e1
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4a93dd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [eax - 0xc]
mov ebx, dword [esp + 0x3e0]
lea ecx, [eax - 0xc]
test edx, edx
jl 0x4a93fd
push ecx
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4a9447
mov ecx, dword [0x4d9540]
mov esi, eax
test eax, eax
mov dword [ebx], ecx
jne 0x4a940f
xor ebp, ebp
jmp 0x4a9418
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
push ebp
mov ecx, ebx
call fcn.00401420
test eax, eax
je 0x4a9447
mov edi, dword [ebx]
lea eax, [ebp + ebp]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [ecx - 8], ebp
mov edx, dword [ebx]
mov word [eax + edx], 0
mov eax, dword [esp + 0x10]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a9476
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4a9476
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x3cc
ret 8