Function at 0x402260
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x32e8
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x32e4], eax
mov eax, dword [esp + 0x32ec]
push ebx
mov ebx, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x32f4]
mov dword [esp + 0x30], eax
cmp dword [ebx], 0
je 0x402640
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push esi
xor esi, esi
push 0
push esi
push 0x150
push dword [ebx]
call ebp
cmp eax, 0xffffffff
je 0x4022e9
test eax, eax
je 0x4022e9
mov ecx, dword [eax]
cmp ecx, 2
je 0x4022c5
cmp ecx, 3
jne 0x4022e0
push 0x1008
push eax
call fcn.004eb9cb
add esp, 8
push 0
push esi
push 0x144
push dword [ebx]
call ebp
dec esi
inc esi
cmp esi, 0x80
jl 0x4022a4
push edi
xor edi, edi
lea esp, [esp]
push 0
push edi
push 0x150
push dword [ebx]
call ebp
cmp eax, 0xffffffff
je 0x40254f
test eax, eax
je 0x40254f
cmp dword [eax], 0
jne 0x40232f
movzx eax, word [eax + 8]
push eax
call fcn.00491a30
mov esi, eax
mov eax, dword [esp + 0x10]
movzx ecx, word [eax]
push ecx
call fcn.00491a30
cmp esi, eax
je 0x40233d
inc edi
cmp edi, 0x80
jl 0x4022f0
jmp 0x40254f
mov esi, dword [esp + 0x10]
cmp word [esi + 2], 0x3a
jne 0x402365
movzx eax, word [esi + 4]
test ax, ax
je 0x402546
cmp eax, 0x5c
jne 0x402365
cmp word [esi + 6], 0
je 0x402546
lea edx, [esp + 0x2f4]
mov dword [esp + 0x14], 0
mov ecx, esi
sub edx, esi
jmp 0x402380
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x402380
lea eax, [esp + 0x2f4]
push 0x5c
push eax
call fcn.004ecec5
mov esi, eax
add esp, 8
test esi, esi
je 0x40251f
lea esp, [esp]
add esi, 2
cmp word [esi], 0
je 0x40251f
lea edx, [esp + 0x22f4]
mov eax, esi
sub edx, esi
jmp 0x4023d0
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x4023d0
lea eax, [esp + 0x22f4]
push 0x5c
push eax
call fcn.004ecec5
add esp, 8
test eax, eax
je 0x40251f
xor ecx, ecx
mov edx, esi
mov word [eax], cx
lea ecx, [esp + 0x2f4]
sub edx, ecx
lea ecx, [esp + 0x22f4]
and edx, 0xfffffffe
sub edx, ecx
add edx, eax
sar edx, 1
inc edx
xor ecx, ecx
lea ecx, [ecx]
movzx eax, word [esp + ecx + 0x2f4]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x12f2], ax
test ax, ax
jne 0x402420
add edx, edx
cmp edx, 0x1000
jae 0x402658
xor eax, eax
push 0x1008
mov word [esp + edx + 0x12f8], ax
call fcn.004eb998
mov ebp, eax
add esp, 4
lea eax, [esp + 0x12f4]
push eax
mov dword [ebp], 3
mov dword [ebp + 4], 0
call fcn.0048e370
mov edx, ebp
sub edx, eax
mov edi, edi
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax + 6], cx
test cx, cx
jne 0x402480
push 0x4201
push 0x2b4
lea eax, [esp + 0x48]
push eax
push 0
lea eax, [esp + 0x1304]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x22f4]
mov dword [esp + 0x20], eax
lea eax, [ecx + 1]
mov dword [esp + 0x38], ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
add eax, edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [ecx + 3]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x40b
push dword [ebx]
mov dword [esp + 0x28], 0x37
call ebp
inc dword [esp + 0x14]
push 0x5c
push esi
call fcn.004ecec5
mov esi, eax
add esp, 8
test esi, esi
jne 0x4023b0
mov ecx, dword [esp + 0x14]
push 0
lea eax, [ecx + 1]
add eax, edi
push eax
lea eax, [ecx + 3]
mov ecx, ebx
push eax
push dword [esp + 0x48]
push 0xffffffffffffffff
push 0
push 2
push dword [esp + 0x2c]
call fcn.00401cb0
mov edi, eax
cmp edi, 0xffffffff
jne 0x402631
mov eax, dword [esp + 0x10]
cmp word [eax], 0x5c
jne 0x402565
cmp word [eax + 2], 0x5c
jne 0x402565
mov edi, dword [ebx + 4]
jmp 0x402568
or edi, 0xffffffff
push 0x1008
call fcn.004eb998
add esp, 4
mov esi, eax
push dword [esp + 0x10]
mov dword [esi], 2
mov dword [esi + 4], 0
call fcn.0048e370
lea edx, [esi + 8]
sub edx, eax
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x402592
push 0x4203
push 0x2b4
lea eax, [esp + 0x48]
push eax
push 0
push dword [esp + 0x20]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4025c9
lea eax, [esp + 0x4c]
xor ecx, ecx
mov dword [esp + 0x18], 0x37
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 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 + 0x38], ecx
mov dword [esp + 0x20], eax
test eax, eax
jne 0x402603
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x40b
push dword [ebx]
mov dword [esp + 0x48], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x44], 2
call ebp
mov edi, eax
push 0
push edi
push 0x14e
push dword [ebx]
call ebp
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x32e8]
pop ebx
xor ecx, esp
call fcn.004ebbd8
add esp, 0x32e8
ret 8
call fcn.004ebafc
int3