Function at 0x4b95b0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c42f8
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.0041b5c0
test eax, eax
je 0x4b970d
mov edi, dword [eax + 0xc]
mov eax, dword [0x682f9c]
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.004fbf80
test eax, eax
je 0x4b967d
lea esi, [eax + 0xc]
lea ecx, [ebp - 0x2c]
push esi
call fcn.005a5986
lea eax, [esi + 4]
lea ecx, [ebp - 0x28]
push eax
call fcn.005a5986
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 8]
push edx
push 0x65bf6c
push eax
mov dword [ebp - 0x24], ecx
call fcn.0059e618
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.005a584d
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.005a584d
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 0x4b96f5
mov ecx, dword [ebp + 8]
push ecx
call fcn.0059e6c9
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 0x4b96f2
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 8]
push ecx
push eax
call fcn.0058aad4
add esp, 8
test eax, eax
jne 0x4b9811
mov edx, dword [esi]
mov ecx, 1
mov dword [edi], edx
lea eax, [esi + 0xc]
mov edx, ecx
dec ecx
test edx, edx
je 0x4b96cf
add eax, 4
jmp 0x4b96c3
lea eax, [esi + 8]
push 1
push eax
call fcn.0059e6a5
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 0x4b96f2
mov ecx, ebx
call fcn.004b9cd0
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.005a584d
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.005a584d
mov ebx, dword [esi + 0x40]
inc ebx
mov dword [esi + 0x40], ebx
mov eax, dword [0x682f9c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push edx
push 0x65bf6c
push eax
mov byte [ebp - 4], 4
call fcn.0059e618
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 0x65bf6c
push edx
call fcn.0059e618
add esp, 0xc
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x1c]
push eax
push 0x65bf6c
push ecx
call fcn.0059e618
add esp, 0xc
lea ecx, [esi + 8]
push ebx
call fcn.004ba040
mov edi, eax
lea edx, [ebp - 0x20]
push edx
mov ecx, edi
call fcn.005a5986
lea eax, [ebp - 0x1c]
lea ecx, [edi + 4]
push eax
call fcn.005a5986
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
mov dword [edi + 8], ecx
push edx
lea ecx, [esi + 0x24]
call fcn.004ba140
mov dword [eax], ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.005a584d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005a584d
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 0x4b969b