Function at 0x402670
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x32e8
call fcn.0051dcc0
mov eax, dword [0x572844]
xor eax, esp
mov dword [esp + 0x32e4], eax
mov eax, dword [esp + 0x32f0]
push ebx
mov ebx, dword [esp + 0x32f0]
push ebp
mov ebp, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0xc], eax
cmp dword [ebp], 0
je 0x402a0e
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 0x4026ff
test eax, eax
je 0x4026ff
mov ecx, dword [eax]
cmp ecx, 2
je 0x4026d6
cmp ecx, 3
jne 0x4026f6
push 0x1008
push eax
call fcn.0051da9d
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 0x4026b0
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 0x402942
test eax, eax
je 0x402942
cmp dword [eax], 0
jne 0x402742
movzx eax, word [eax + 8]
push eax
call fcn.004b4390
movzx ecx, word [ebx]
mov esi, eax
push ecx
call fcn.004b4390
cmp esi, eax
je 0x402750
inc edi
cmp edi, 0x80
jl 0x402702
jmp 0x402942
cmp word [ebx + 2], 0x3a
jne 0x402774
movzx eax, word [ebx + 4]
test ax, ax
je 0x402939
cmp eax, 0x5c
jne 0x402774
cmp word [ebx + 6], 0
je 0x402939
push 0x800
push ebx
lea eax, [esp + 0x2fc]
xor esi, esi
push eax
mov dword [esp + 0x1c], esi
call fcn.004b0360
lea eax, [esp + 0x2f4]
push 0x5c
push eax
call fcn.0051f225
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x402915
lea esp, [esp]
add ebx, 2
cmp word [ebx], 0
je 0x402915
push 0x800
push ebx
lea eax, [esp + 0x22fc]
push eax
call fcn.004b0360
lea eax, [esp + 0x22f4]
push 0x5c
push eax
call fcn.0051f225
mov esi, eax
add esp, 8
test esi, esi
je 0x402911
xor eax, eax
mov word [esi], ax
lea eax, [esp + 0x2f4]
push 0x800
push eax
lea eax, [esp + 0x12fc]
push eax
call fcn.004b0360
lea ecx, [esp + 0x2f4]
mov eax, ebx
sub eax, ecx
lea ecx, [esp + 0x22f4]
and eax, 0xfffffffe
sub eax, ecx
add eax, esi
sar eax, 1
lea eax, [eax*2 + 2]
cmp eax, 0x1000
jae 0x402a27
xor ecx, ecx
push 0x1008
mov word [esp + eax + 0x12f8], cx
call fcn.0051da6d
add esp, 4
mov esi, eax
lea eax, [esp + 0x12f4]
push 0x800
push eax
mov dword [esi], 3
mov dword [esi + 4], 0
call fcn.004affc0
push eax
lea ecx, [esi + 8]
push ecx
call fcn.004b0360
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 dword [esp + 0x38], esi
lea eax, [esp + 0x22f4]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], 0
lea eax, [esi + 1]
mov dword [esp + 0x18], 0x37
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, [esi + 3]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x18]
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.0051f225
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4027b0
jmp 0x402915
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x3c]
lea eax, [edi + 1]
push 0
add eax, esi
mov ecx, ebp
push eax
lea eax, [esi + 3]
push eax
push dword [esp + 0x20]
push 0xffffffffffffffff
push 0
push 2
push ebx
call fcn.00401f70
mov edi, eax
cmp edi, 0xffffffff
jne 0x4029fb
cmp word [ebx], 0x5c
jne 0x402954
cmp word [ebx + 2], 0x5c
jne 0x402954
mov edi, dword [ebp + 4]
jmp 0x402957
or edi, 0xffffffff
push 0x1008
call fcn.0051da6d
add esp, 4
mov esi, eax
push 0x800
push ebx
mov dword [esi], 2
mov dword [esi + 4], 0
call fcn.004affc0
push eax
lea ecx, [esi + 8]
push ecx
call fcn.004b0360
push 0x4203
push 0x2b4
lea eax, [esp + 0x48]
push eax
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], 0x37
test eax, eax
jne 0x4029c4
lea eax, [esp + 0x4c]
mov dword [esp + 0x20], eax
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 [ebp]
mov dword [esp + 0x48], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x44], 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 + 0x32ec]
pop ebp
pop ebx
xor ecx, esp
call fcn.0051dca8
add esp, 0x32e8
ret 8
call fcn.0051dbcd
int3