Function at 0x426590
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, dword [ebp + 8]
mov eax, dword [0x4a3ecc]
xor eax, ebp
mov dword [esp + 0x58], eax
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4265b4
mov eax, dword [esi]
push 4
push 0x48bcc0
push eax
call fcn.00466b5d
add esp, 0xc
xor ecx, ecx
test eax, eax
sete cl
lea eax, [ecx*4 + 5]
cmp dword [esi + 0x10], eax
jb 0x4265ff
shl ecx, 2
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4265e4
mov eax, dword [esi]
lea eax, [eax + ecx*2]
push 5
push str.pipe_
push eax
call fcn.00466b5d
add esp, 0xc
test eax, eax
je 0x4266fc
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x40]
movdqa xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], 0
mov ecx, esi
mov edx, edi
call fcn.00426a50
cmp dword [edi + 0x10], 3
mov byte [esp + 0x10], al
jb 0x426667
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
cmp edx, 8
mov esi, edi
cmovae esi, ecx
cmp word [esi + 2], 0x3a
jne 0x426667
cmp edx, 8
cmovae edi, ecx
cmp word [edi + 4], 0x5c
jne 0x426667
movzx eax, word [esi]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
setb bl
jmp 0x426669
xor ebx, ebx
lea edi, [esp + 0x40]
mov ecx, edi
mov edx, edi
call fcn.00426c00
mov dword [esp + 0x14], ebx
or al, bl
mov cl, byte [esp + 0x10]
or cl, al
mov dword [esp + 0xc], 0x7b
cmp cl, 1
jne 0x4269e8
cmp byte [esp + 0x14], 0
jne 0x4267f6
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 4
mov dword [esp + 0x1c], 0x5c002e
mov dword [esp + 0x18], 0x5c005c
mov word [esp + 0x20], 0
mov ebx, dword [esp + 0x50]
cmp dword [esp + 0x54], 8
jb 0x4266d4
mov edi, dword [esp + 0x40]
cmp ebx, 3
jbe 0x426706
sub esp, 0x10
mov al, byte [esp + 0x40]
mov byte [esp + 4], al
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp], ebx
lea ecx, [esp + 0x28]
call fcn.00406610
mov esi, eax
jmp 0x426729
mov esi, 0x1126
jmp 0x426a27
lea esi, [esp + 0x18]
lea eax, [ebx + 4]
mov dword [esi + 0x10], eax
lea eax, [esp + 0x20]
lea ecx, [ebx + ebx]
push ecx
push edi
push eax
call fcn.0045d200
add esp, 0xc
mov word [esp + ebx*2 + 0x20], 0
mov edi, dword [esi]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x38], eax
movq xmm0, qword [esi + 4]
movq qword [esp + 0x30], xmm0
mov ebx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], 0
mov ecx, dword [esp + 0x54]
cmp ecx, 8
jb 0x426799
mov esi, edx
mov eax, dword [esp + 0x40]
lea edx, [ecx + ecx]
add edx, 2
cmp edx, 0x1000
jb 0x42678d
mov edx, eax
add edx, 0xfffffffc
mov eax, dword [eax - 4]
sub edx, eax
cmp edx, 0x20
jae 0x426a3c
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.0045b9ca
add esp, 8
mov edx, esi
lea eax, [esp + 0x44]
mov dword [eax - 4], edi
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
movq xmm0, qword [esp + 0x30]
movq qword [eax], xmm0
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x2c]
cmp ecx, 8
jb 0x4267f6
mov eax, dword [esp + 0x18]
lea edx, [ecx + ecx]
add edx, 2
cmp edx, 0x1000
jb 0x4267ec
mov edx, eax
add edx, 0xfffffffc
mov eax, dword [eax - 4]
sub edx, eax
cmp edx, 0x20
jae 0x426a3c
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.0045b9ca
add esp, 8
xor esi, esi
dec esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 7
mov word [esp + 0x18], 0
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
cmp ebx, esi
cmovae ebx, esi
lea eax, [esp + 0x40]
cmp edi, 8
jb 0x426832
mov eax, dword [esp + 0x40]
cmp ebx, 7
jbe 0x426858
sub esp, 0xc
mov cl, byte [esp + 0x3c]
mov byte [esp + 4], cl
mov dword [esp + 8], eax
mov dword [esp], ebx
lea ecx, [esp + 0x24]
call fcn.004062b0
mov edi, dword [esp + 0x54]
jmp 0x426875
mov dword [esp + 0x28], ebx
lea ecx, [ebx + ebx]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0045d200
add esp, 0xc
mov word [esp + ebx*2 + 0x18], 0
cmp edi, 8
jb 0x4268b0
mov eax, dword [esp + 0x40]
lea ecx, [edi + edi]
add ecx, 2
cmp ecx, 0x1000
jb 0x4268a6
mov ecx, eax
add ecx, 0xfffffffc
mov eax, dword [eax - 4]
sub ecx, eax
cmp ecx, 0x20
jae 0x426a3c
add edi, edi
add edi, 0x25
mov ecx, edi
push ecx
push eax
call fcn.0045b9ca
add esp, 8
movsd xmm0, qword [esp + 0x28]
movsd qword [esp + 0x50], xmm0
movdqu xmm0, xmmword [esp + 0x18]
movdqa xmmword [esp + 0x40], xmm0
cmp dword [esp + 0x54], 8
lea eax, [esp + 0x40]
jb 0x4268d7
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4268f2
bt eax, 0xa
jae 0x426972
jmp 0x4269e0
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 2]
cmp ecx, 2
jb 0x426968
cmp eax, 0x7b
je 0x426968
test byte [esp + 0x10], 1
sete dl
or dl, byte [esp + 0x14]
jne 0x426961
cmp dword [esp + 0x54], 8
lea edx, [esp + 0x40]
jb 0x426924
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x50]
test edi, edi
je 0x426961
cmp word [edx + edi*2 - 2], 0x5c
jne 0x42693c
lea ebx, [edx + edi*2]
add ebx, 0xfffffffe
jmp 0x426955
add edi, edi
cmp edi, 2
je 0x426961
lea ebx, [edi - 2]
cmp word [edx + edi - 4], 0x5c
mov edi, ebx
jne 0x42693e
add ebx, edx
add ebx, 0xfffffffe
sub ebx, edx
mov edi, 2
cmp ebx, 6
je 0x426968
mov dword [esp + 0xc], eax
xor edi, edi
inc edi
cmp ecx, 2
jb 0x426972
cmp eax, 0x7b
jne 0x4269cd
cmp dword [esp + 0x54], 8
lea eax, [esp + 0x40]
jb 0x426981
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x50]
mov dl, 1
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x4269bf
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x42699f
lea esi, [eax + ecx*2]
add esi, 0xfffffffe
jmp 0x4269b9
add ecx, ecx
cmp ecx, 2
je 0x4269bf
lea edx, [ecx - 2]
cmp word [eax + ecx - 4], 0x5c
mov ecx, edx
jne 0x4269a1
lea esi, [eax + edx]
add esi, 0xfffffffe
sub esi, eax
sar esi, 1
jmp 0x4269c2
xor esi, esi
dec esi
cmp esi, 2
ja 0x426801
jmp 0x4269d6
test edi, edi
je 0x4269c2
cmp edi, 2
jne 0x4269e8
mov dword [esp + 0xc], 0x1126
jmp 0x4269e8
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x54]
cmp ecx, 8
mov esi, dword [esp + 0xc]
jb 0x426a27
mov eax, dword [esp + 0x40]
lea edx, [ecx + ecx]
add edx, 2
cmp edx, 0x1000
jb 0x426a1d
mov edx, eax
add edx, 0xfffffffc
mov eax, dword [eax - 4]
sub edx, eax
cmp edx, 0x20
jae 0x426a3c
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.0045b9ca
add esp, 8
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.0045be32
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00460d04
int3