Function at 0x402250
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x32ec
call fcn.00507730
mov eax, dword [0x5755c4]
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 0x4026c1
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 0x4022df
test eax, eax
je 0x4022df
mov ecx, dword [eax]
cmp ecx, 2
je 0x4022b6
cmp ecx, 3
jne 0x4022d6
push 0x1008
push eax
call fcn.00507505
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 0x402290
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 0x4025d7
test eax, eax
je 0x4025d7
cmp dword [eax], 0
jne 0x402322
movzx eax, word [eax + 8]
push eax
call fcn.004a12b0
movzx ecx, word [ebx]
mov esi, eax
push ecx
call fcn.004a12b0
cmp esi, eax
je 0x402330
inc edi
cmp edi, 0x80
jl 0x4022e2
jmp 0x4025d7
cmp word [ebx + 2], 0x3a
jne 0x402354
movzx eax, word [ebx + 4]
test ax, ax
je 0x4025ce
cmp eax, 0x5c
jne 0x402354
cmp word [ebx + 6], 0
je 0x4025ce
push 0x800
push ebx
lea eax, [esp + 0x300]
xor esi, esi
push eax
mov dword [esp + 0x1c], esi
call fcn.0049dc20
lea eax, [esp + 0x2f8]
push 0x5c
push eax
call fcn.0051f04b
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4024ef
lea esp, [esp]
add ebx, 2
cmp word [ebx], 0
je 0x4024ef
push 0x800
push ebx
lea eax, [esp + 0x2300]
push eax
call fcn.0049dc20
lea eax, [esp + 0x22f8]
push 0x5c
push eax
call fcn.0051f04b
mov esi, eax
add esp, 8
test esi, esi
je 0x4024eb
xor eax, eax
mov word [esi], ax
lea eax, [esp + 0x2f8]
push 0x800
push eax
lea eax, [esp + 0x1300]
push eax
call fcn.0049dc20
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 0x4026da
xor ecx, ecx
push 0x1008
mov word [esp + eax + 0x12fc], cx
call fcn.005074d2
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.0049d880
push eax
lea ecx, [esi + 8]
push ecx
call fcn.0049dc20
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.0051f04b
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x402390
jmp 0x4024ef
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
push 0x1008
mov dword [esp + 0x44], eax
call fcn.005074d2
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.0049d880
mov ecx, dword [esp + 0x14]
push eax
add ecx, 8
push ecx
call fcn.0049dc20
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 0x402559
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 0x402593
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 0x4026ae
cmp word [ebx], 0x5c
jne 0x4025e9
cmp word [ebx + 2], 0x5c
jne 0x4025e9
mov edi, dword [ebp + 4]
jmp 0x4025ec
or edi, 0xffffffff
push 0x1008
call fcn.005074d2
add esp, 4
mov esi, eax
push 0x800
push ebx
mov dword [esi], 2
mov dword [esi + 4], 0
call fcn.0049d880
push eax
lea ecx, [esi + 8]
push ecx
call fcn.0049dc20
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 0x402641
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 0x40267b
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.00507712
add esp, 0x32ec
ret 8
call fcn.00507636
int3