Function at 0x4a7c40
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3ff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], esp
lea ebx, [esi + 0x24]
push eax
push ecx
mov ecx, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.0046c070
test eax, eax
je 0x4a7d9d
mov edi, dword [eax + 0xc]
mov eax, dword [0x65ca8c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x30]
lea ecx, [esi + 8]
push edx
push edi
mov byte [ebp - 4], 1
call fcn.004a87d0
test eax, eax
je 0x4a7d0d
lea esi, [eax + 0xc]
lea ecx, [ebp - 0x2c]
push esi
call fcn.00586c6c
lea eax, [esi + 4]
lea ecx, [ebp - 0x28]
push eax
call fcn.00586c6c
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 8]
push edx
push 0x636fa0
push eax
mov dword [ebp - 0x24], ecx
call fcn.0057f8fb
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00586b33
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00586b33
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 4]
test eax, eax
je 0x4a7d85
mov ecx, dword [ebp + 8]
push ecx
call fcn.0057f9ac
xor edx, edx
div dword [ebx + 8]
mov eax, dword [ebx + 4]
mov esi, dword [eax + edx*4]
lea edi, [eax + edx*4]
test esi, esi
je 0x4a7d82
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 8]
push ecx
push eax
call fcn.0056bf52
add esp, 8
test eax, eax
jne 0x4a7ea1
mov edx, dword [esi]
mov ecx, 1
mov dword [edi], edx
lea eax, [esi + 0xc]
mov edx, ecx
dec ecx
test edx, edx
je 0x4a7d5f
add eax, 4
jmp 0x4a7d53
lea eax, [esi + 8]
push 1
push eax
call fcn.0057f988
mov ecx, dword [ebx + 0x10]
mov dword [esi], ecx
mov eax, dword [ebx + 0xc]
dec eax
mov dword [ebx + 0x10], esi
mov dword [ebx + 0xc], eax
jne 0x4a7d82
mov ecx, ebx
call fcn.004a8360
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00586b33
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00586b33
mov ebx, dword [esi + 0x40]
inc ebx
mov dword [esi + 0x40], ebx
mov eax, dword [0x65ca8c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push edx
push 0x636fa0
push eax
mov byte [ebp - 4], 4
call fcn.0057f8fb
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov edx, dword [ebp + 8]
mov ecx, 0x58
xor eax, eax
lea edi, [ebp - 0x194]
rep stosd dword es:[edi], eax
push 0x4411
lea ecx, [ebp - 0x194]
push 0x160
push ecx
push 0x80
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x190]
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x18], eax
push ecx
push 0x636fa0
push edx
call fcn.0057f8fb
add esp, 0xc
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x1c]
push eax
push 0x636fa0
push ecx
call fcn.0057f8fb
add esp, 0xc
lea ecx, [esi + 8]
push ebx
call fcn.004a86d0
mov edi, eax
lea edx, [ebp - 0x20]
push edx
mov ecx, edi
call fcn.00586c6c
lea eax, [ebp - 0x1c]
lea ecx, [edi + 4]
push eax
call fcn.00586c6c
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
mov dword [edi + 8], ecx
push edx
lea ecx, [esi + 0x24]
call fcn.004a8810
mov dword [eax], ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00586b33
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00586b33
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, esi
mov esi, dword [esi]
jmp 0x4a7d2b