Function at 0x49df90
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587028
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.0049ec60
test eax, eax
je 0x49e0ed
mov edi, dword [eax + 0xc]
mov eax, dword [0x639ad4]
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.0049eb20
test eax, eax
je 0x49e05d
lea esi, [eax + 0xc]
lea ecx, [ebp - 0x2c]
push esi
call fcn.0056a239
lea eax, [esi + 4]
lea ecx, [ebp - 0x28]
push eax
call fcn.0056a239
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 8]
push edx
push 0x615e9c
push eax
mov dword [ebp - 0x24], ecx
call fcn.00562ecb
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0056a100
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.0056a100
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 0x49e0d5
mov ecx, dword [ebp + 8]
push ecx
call fcn.00562f7c
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 0x49e0d2
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 8]
push ecx
push eax
call fcn.0054f4a2
add esp, 8
test eax, eax
jne 0x49e1f1
mov edx, dword [esi]
mov ecx, 1
mov dword [edi], edx
lea eax, [esi + 0xc]
mov edx, ecx
dec ecx
test edx, edx
je 0x49e0af
add eax, 4
jmp 0x49e0a3
lea eax, [esi + 8]
push 1
push eax
call fcn.00562f58
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 0x49e0d2
mov ecx, ebx
call fcn.0049e6b0
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0056a100
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.0056a100
mov ebx, dword [esi + 0x40]
inc ebx
mov dword [esi + 0x40], ebx
mov eax, dword [0x639ad4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push edx
push 0x615e9c
push eax
mov byte [ebp - 4], 4
call fcn.00562ecb
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 0x615e9c
push edx
call fcn.00562ecb
add esp, 0xc
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x1c]
push eax
push 0x615e9c
push ecx
call fcn.00562ecb
add esp, 0xc
lea ecx, [esi + 8]
push ebx
call fcn.0049ea20
mov edi, eax
lea edx, [ebp - 0x20]
push edx
mov ecx, edi
call fcn.0056a239
lea eax, [ebp - 0x1c]
lea ecx, [edi + 4]
push eax
call fcn.0056a239
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
mov dword [edi + 8], ecx
push edx
lea ecx, [esi + 0x24]
call fcn.0049eb60
mov dword [eax], ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0056a100
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.0056a100
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 0x49e07b