Function at 0x4a8a40
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5c48
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.004bd780
test eax, eax
je 0x4a8b9d
mov edi, dword [eax + 0xc]
mov eax, dword [0x65ec1c]
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.004ed290
test eax, eax
je 0x4a8b0d
lea esi, [eax + 0xc]
lea ecx, [ebp - 0x2c]
push esi
call fcn.005887f9
lea eax, [esi + 4]
lea ecx, [ebp - 0x28]
push eax
call fcn.005887f9
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 8]
push edx
push 0x638fa8
push eax
mov dword [ebp - 0x24], ecx
call fcn.0058148b
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.005886c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.005886c0
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 0x4a8b85
mov ecx, dword [ebp + 8]
push ecx
call fcn.0058153c
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 0x4a8b82
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 8]
push ecx
push eax
call fcn.0056dad2
add esp, 8
test eax, eax
jne 0x4a8ca1
mov edx, dword [esi]
mov ecx, 1
mov dword [edi], edx
lea eax, [esi + 0xc]
mov edx, ecx
dec ecx
test edx, edx
je 0x4a8b5f
add eax, 4
jmp 0x4a8b53
lea eax, [esi + 8]
push 1
push eax
call fcn.00581518
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 0x4a8b82
mov ecx, ebx
call fcn.004a9160
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.005886c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.005886c0
mov ebx, dword [esi + 0x40]
inc ebx
mov dword [esi + 0x40], ebx
mov eax, dword [0x65ec1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push edx
push 0x638fa8
push eax
mov byte [ebp - 4], 4
call fcn.0058148b
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 0x638fa8
push edx
call fcn.0058148b
add esp, 0xc
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x1c]
push eax
push 0x638fa8
push ecx
call fcn.0058148b
add esp, 0xc
lea ecx, [esi + 8]
push ebx
call fcn.004a94d0
mov edi, eax
lea edx, [ebp - 0x20]
push edx
mov ecx, edi
call fcn.005887f9
lea eax, [ebp - 0x1c]
lea ecx, [edi + 4]
push eax
call fcn.005887f9
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
mov dword [edi + 8], ecx
push edx
lea ecx, [esi + 0x24]
call fcn.004a95d0
mov dword [eax], ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.005886c0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005886c0
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 0x4a8b2b