Function at 0x4939e0
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x5431fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x1c]
push 0
push 0x1004
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esp + 0x1c8]
test eax, eax
mov dword [esp + 0x20], edi
jne 0x493a33
mov eax, dword [esi + 0x24120]
test edi, edi
je 0x493bb1
test eax, eax
je 0x493e11
mov ecx, dword [0x591288]
mov dword [esp + 0x14], ecx
push 0x200
mov dword [esp + 0x1c4], 0
call fcn.004ee7cf
add esp, 4
xor ebx, ebx
test edi, edi
mov ebp, eax
jle 0x493b94
push ebx
mov ecx, esi
call fcn.00508142
test eax, eax
je 0x493b87
test ebp, ebp
je 0x493b87
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x493aa9
push ecx
lea ecx, [esp + 0x1c]
call fcn.0050d46b
or dword [esp + 0x10], 1
mov byte [esp + 0x1c0], 1
jmp 0x493acc
lea edx, [esp + 0x1c]
push eax
push edx
mov ecx, esi
call fcn.00493e30
mov edx, dword [esp + 0x10]
mov ecx, 2
or edx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c0], ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0050d536
mov al, byte [esp + 0x10]
mov dword [esp + 0x1c0], 1
test al, 2
je 0x493afc
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
and al, 0xfd
mov dword [esp + 0x10], eax
call fcn.0050d3fd
mov al, byte [esp + 0x10]
mov dword [esp + 0x1c0], 0
test al, 1
je 0x493b22
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
and al, 0xfe
mov dword [esp + 0x10], eax
call fcn.0050d3fd
mov ecx, 0x7f
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [esi + 0x2412c]
mov eax, dword [esp + 0x14]
test edx, edx
je 0x493b7c
mov ecx, dword [eax - 8]
push 0x1ff
push ebp
push ecx
push eax
mov eax, dword [edx*4 + 0x58cbc8]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x30]
push ecx
push ebx
push 0x1074
push edx
mov dword [esp + 0x48], 0
mov dword [esp + 0x54], ebp
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x493b87
push eax
push 0
push ebx
mov ecx, esi
call fcn.0050802d
mov eax, dword [esp + 0x20]
inc ebx
cmp ebx, eax
jl 0x493a71
push ebp
call fcn.004ee909
add esp, 4
mov dword [esp + 0x1c0], 0xffffffff
lea ecx, [esp + 0x14]
jmp 0x493e0c
test eax, eax
je 0x493e11
mov ebx, eax
mov eax, dword [0x591288]
xor edi, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c0], 3
mov dword [esp + 0x24], eax
mov byte [esp + 0x1c0], 4
lea ecx, [esp + 0x20]
push ebx
push ecx
mov ecx, esi
call fcn.00493e30
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c4], 5
call fcn.0050d536
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c0], 4
call fcn.0050d3fd
mov eax, dword [esp + 0x18]
push 0x4010
lea edx, [esp + 0x5c]
push 0x160
push edx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esi + 0x2412c]
test eax, eax
je 0x493d8e
mov ecx, dword [0x591288]
mov dword [esp + 0x1c], ecx
push 0x200
mov byte [esp + 0x1c4], 6
call fcn.004ee7cf
mov edx, dword [esp + 0x60]
add esp, 4
mov ecx, esi
mov ebp, eax
push 0
push edx
push 0
push 0
push 0x596660
push edi
push 3
call fcn.00507f32
mov eax, dword [ebx + 8]
test eax, eax
je 0x493c99
push eax
lea ecx, [esp + 0x30]
call fcn.0050d46b
or dword [esp + 0x10], 4
mov byte [esp + 0x1c0], 7
jmp 0x493cbc
lea eax, [esp + 0x28]
push ebx
push eax
mov ecx, esi
call fcn.00493e30
mov edx, dword [esp + 0x10]
mov ecx, 8
or edx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c0], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0050d536
mov al, byte [esp + 0x10]
mov dword [esp + 0x1c0], 7
test al, 8
je 0x493cec
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x28]
and al, 0xf7
mov dword [esp + 0x10], eax
call fcn.0050d3fd
mov al, byte [esp + 0x10]
mov dword [esp + 0x1c0], 6
test al, 4
je 0x493d12
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
and al, 0xfb
mov dword [esp + 0x10], eax
call fcn.0050d3fd
mov ecx, 0x7f
xor eax, eax
mov edi, ebp
push 0x1ff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x20]
push ebp
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esi + 0x2412c]
push eax
push 2
mov edx, dword [ecx*4 + 0x58cbc8]
push edx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x1c]
lea eax, [esp + 0x30]
mov dword [esp + 0x38], 0
push eax
push ecx
push 0x1074
push edx
mov dword [esp + 0x54], ebp
call dword [sym.imp.USER32.dll_SendMessageA]
test ebp, ebp
je 0x493d77
push ebp
call fcn.004ee909
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c0], 4
call fcn.0050d3fd
mov edi, dword [esp + 0x14]
jmp 0x493dba
mov eax, dword [ebx + 8]
push 0
test eax, eax
je 0x493da2
mov ecx, dword [esp + 0x60]
push ecx
push 0
push 0
jmp 0x493daf
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x1c]
push edx
push 0
push 0
push eax
push edi
push 3
mov ecx, esi
call fcn.00507f32
push ebx
push 0
push 0
push 0
push 0
push 4
push 0
push edi
mov ecx, esi
call fcn.00507fb4
mov ecx, dword [ebx]
push ecx
push 1
push edi
mov ecx, esi
call fcn.0050802d
mov ebx, dword [ebx + 0x18]
inc edi
test ebx, ebx
mov dword [esp + 0x14], edi
jne 0x493be1
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c0], 3
call fcn.0050d3fd
mov dword [esp + 0x1c0], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0050d3fd
mov ecx, dword [esp + 0x1b8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b4
ret 4