Function at 0x4c29f0
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x502769
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x2e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x2fc]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x30c]
mov ebp, dword [esp + 0x314]
mov dword [esp + 0x304], 0
test ebp, ebp
jne 0x4c2a61
or esi, 0xffffffff
mov dword [esp + 0x304], esi
mov eax, dword [esp + 0x310]
add eax, 0xfffffff0
jmp 0x4c2cfd
mov ecx, dword [esp + 0x310]
push 0x2e
push ecx
call fcn.004e5c9d
mov ecx, dword [esp + 0x318]
add esp, 8
or esi, 0xffffffff
test eax, eax
jne 0x4c2a85
mov eax, esi
jmp 0x4c2a89
sub eax, ecx
sar eax, 1
test bl, 0x10
je 0x4c2b5a
cmp ebx, esi
je 0x4c2b5a
lea edx, [esp + 0x18]
push edx
lea edi, [esp + 0x310]
call fcn.004c52d0
mov esi, dword [esp + 0x18]
mov edi, dword [0x566b80]
test esi, esi
je 0x4c2ac1
cmp esi, dword [0x566b68]
je 0x4c2ac6
call fcn.004e48f7
cmp dword [esp + 0x1c], edi
je 0x4c2b07
test esi, esi
jne 0x4c2b03
call fcn.004e48f7
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 0x18]
jne 0x4c2ae3
call fcn.004e48f7
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x10]
lea ecx, [esp + 0x310]
mov dword [ebp], edx
call fcn.004016f0
mov eax, 1
jmp 0x4c2d15
mov esi, dword [esi]
jmp 0x4c2ad5
mov ecx, dword [esp + 0x310]
push 0x4010
push 0x2b4
lea eax, [esp + 0x44]
push eax
push 0x10
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x18]
mov dword [ebp], eax
mov dword [esp + 0x1c], eax
push edx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x20], ebx
call fcn.004c51e0
lea ecx, [esp + 0x310]
call fcn.004016f0
mov eax, 1
jmp 0x4c2d15
test eax, eax
jle 0x4c2cf3
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call fcn.00401640
mov byte [esp + 0x304], 1
mov edx, dword [esp + 0x20]
push str..exe
push edx
call fcn.004e4707
add esp, 8
test eax, eax
je 0x4c2cb9
mov eax, dword [esp + 0x20]
push str..lnk
push eax
call fcn.004e4707
add esp, 8
test eax, eax
je 0x4c2cb9
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
mov esi, 0x566b88
call fcn.00427ee0
mov eax, dword [esp + 0x18]
mov esi, dword [0x566ba0]
test eax, eax
je 0x4c2bdb
cmp eax, dword [0x566b88]
je 0x4c2be0
call fcn.004e48f7
cmp dword [esp + 0x1c], esi
je 0x4c2c14
lea esi, [esp + 0x18]
call fcn.00476070
mov eax, dword [eax + 4]
mov dword [ebp], eax
lea ecx, [esp + 0x20]
call fcn.004016f0
lea ecx, [esp + 0x310]
call fcn.004016f0
mov eax, 1
jmp 0x4c2d15
mov edx, dword [esp + 0x310]
push 0x4010
push 0x2b4
lea ecx, [esp + 0x44]
push ecx
or ebx, 0x80
push ebx
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0x40]
push eax
mov dword [ebp], eax
mov eax, dword [esp + 0x24]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.004048c0
add eax, 0x10
mov dword [esi], eax
lea esi, [esp + 0x2c]
call fcn.0048f760
add esp, 8
mov esi, eax
mov byte [esp + 0x304], 2
mov eax, dword [esi]
sub eax, 0x10
call fcn.004048c0
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
push 0x566b88
mov byte [esp + 0x310], 3
call fcn.00428190
lea eax, [esp + 0x18]
call fcn.0048c350
lea eax, [esp + 0x24]
call fcn.0048c350
jmp 0x4c2bf5
mov byte [esp + 0x304], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c2ce0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x304], esi
mov eax, dword [esp + 0x310]
add eax, 0xfffffff0
jmp 0x4c2cfd
mov dword [esp + 0x304], esi
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x4c2d13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x2fc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.004e3edb
add esp, 0x2f4
ret 0xc