Function at 0x4020e0
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x32ec
call fcn.00502fa0
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x32e8], eax
mov eax, dword [esp + 0x32f4]
push ebx
mov ebx, dword [esp + 0x32f4]
push ebp
mov ebp, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
cmp dword [ebp], 0
je 0x402551
push esi
xor esi, esi
nop
push 0
push esi
push 0x150
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x40216f
test eax, eax
je 0x40216f
mov ecx, dword [eax]
cmp ecx, 2
je 0x402146
cmp ecx, 3
jne 0x402166
push 0x1008
push eax
call fcn.00502d81
add esp, 8
push 0
push esi
push 0x144
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
dec esi
inc esi
cmp esi, 0x80
jl 0x402120
push edi
xor edi, edi
push 0
push edi
push 0x150
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x402467
test eax, eax
je 0x402467
cmp dword [eax], 0
jne 0x4021b2
movzx eax, word [eax + 8]
push eax
call fcn.004a0560
movzx ecx, word [ebx]
mov esi, eax
push ecx
call fcn.004a0560
cmp esi, eax
je 0x4021c0
inc edi
cmp edi, 0x80
jl 0x402172
jmp 0x402467
cmp word [ebx + 2], 0x3a
jne 0x4021e4
movzx eax, word [ebx + 4]
test ax, ax
je 0x40245e
cmp eax, 0x5c
jne 0x4021e4
cmp word [ebx + 6], 0
je 0x40245e
push 0x800
push ebx
lea eax, [esp + 0x300]
xor esi, esi
push eax
mov dword [esp + 0x1c], esi
call fcn.0049ce90
lea eax, [esp + 0x2f8]
push 0x5c
push eax
call fcn.005042eb
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40237f
lea esp, [esp]
add ebx, 2
cmp word [ebx], 0
je 0x40237f
push 0x800
push ebx
lea eax, [esp + 0x2300]
push eax
call fcn.0049ce90
lea eax, [esp + 0x22f8]
push 0x5c
push eax
call fcn.005042eb
mov esi, eax
add esp, 8
test esi, esi
je 0x40237b
xor eax, eax
mov word [esi], ax
lea eax, [esp + 0x2f8]
push 0x800
push eax
lea eax, [esp + 0x1300]
push eax
call fcn.0049ce90
lea ecx, [esp + 0x2f8]
mov eax, ebx
sub eax, ecx
lea ecx, [esp + 0x22f8]
and eax, 0xfffffffe
sub eax, ecx
add eax, esi
sar eax, 1
lea eax, [eax*2 + 2]
cmp eax, 0x1000
jae 0x40256a
xor ecx, ecx
push 0x1008
mov word [esp + eax + 0x12fc], cx
call fcn.00502d4e
add esp, 4
mov esi, eax
lea eax, [esp + 0x12f8]
push 0x800
push eax
mov dword [esi], 3
mov dword [esi + 4], 0
call fcn.0049caf0
push eax
lea ecx, [esi + 8]
push ecx
call fcn.0049ce90
push 0x4201
push 0x2b4
lea eax, [esp + 0x4c]
push eax
push 0
lea eax, [esp + 0x1308]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
xor eax, eax
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x22f8]
mov dword [esp + 0x1c], eax
lea eax, [esi + 1]
mov dword [esp + 0x14], 0x37
add eax, edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esi + 3]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x40b
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x5c
inc esi
push ebx
mov dword [esp + 0x18], esi
call fcn.005042eb
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x402220
jmp 0x40237f
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
push 0x1008
mov dword [esp + 0x44], eax
call fcn.00502d4e
mov ebx, dword [esp + 0x40]
add esp, 4
mov dword [esp + 0x10], eax
mov dword [eax], 2
push 0x800
push ebx
mov dword [eax + 4], 0
call fcn.0049caf0
mov ecx, dword [esp + 0x14]
push eax
add ecx, 8
push ecx
call fcn.0049ce90
push 0x4203
push 0x2b4
lea eax, [esp + 0x4c]
push eax
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp dword [esp + 0x38], 0
lea eax, [esp + 0x50]
je 0x4023e9
mov eax, dword [esp + 0x40]
xor ecx, ecx
mov dword [esp + 0x14], 0x37
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x402423
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
lea eax, [edi + 1]
add eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esi + 3]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x40b
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40253e
cmp word [ebx], 0x5c
jne 0x402479
cmp word [ebx + 2], 0x5c
jne 0x402479
mov edi, dword [ebp + 4]
jmp 0x40247c
or edi, 0xffffffff
push 0x1008
call fcn.00502d4e
add esp, 4
mov esi, eax
push 0x800
push ebx
mov dword [esi], 2
mov dword [esi + 4], 0
call fcn.0049caf0
push eax
lea ecx, [esi + 8]
push ecx
call fcn.0049ce90
push 0x4203
push 0x2b4
lea eax, [esp + 0x4c]
push eax
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4024d1
lea eax, [esp + 0x50]
xor ecx, ecx
mov dword [esp + 0x14], 0x37
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x40250b
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x40b
push dword [ebp]
mov dword [esp + 0x44], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x40], 2
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
push 0
push edi
push 0x14e
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov ecx, dword [esp + 0x32f0]
pop ebp
pop ebx
xor ecx, esp
call fcn.00502f8e
add esp, 0x32ec
ret 8
call fcn.00502eb2
int3