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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454e6f
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x476040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xf4], esi
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xec], 0
call fcn.00420eb0
mov dword [ebp - 4], 1
mov edx, str.SoftwareCaphyonAdvanced_Installer_
push eax
lea ecx, [ebp - 0x88]
call fcn.00429d60
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd0]
call fcn.00404310
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push str.WorkingDirectorySys
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0x70], xmm0
call fcn.00404650
mov byte [ebp - 4], 4
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x88]
mov edx, 0x80000001
push eax
lea ecx, [ebp - 0xe8]
call fcn.00427fd0
add esp, 8
mov byte [ebp - 4], 5
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00403bb0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe8]
call fcn.00404310
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x4207bb
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4207b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420d03
push ecx
push edx
call fcn.00434ce3
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp dword [ebp - 0x18], eax
jne 0x4208cf
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x48], eax
push str.WorkingDirectorySys
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], eax
movups xmmword [ebp - 0x58], xmm0
call fcn.00404650
mov byte [ebp - 4], 9
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x88]
mov edx, 0x80000002
push eax
lea ecx, [ebp - 0xa0]
call fcn.00427fd0
add esp, 8
mov byte [ebp - 4], 0xa
mov edx, eax
lea ecx, [ebp - 0xb8]
call fcn.00403bb0
mov edi, eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x42085f
mov ecx, eax
call fcn.00404310
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb8]
call fcn.00404310
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa0]
call fcn.00404310
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x4208bb
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4208b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420d08
push ecx
push edx
call fcn.00434ce3
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4209c1
test al, 0x10
je 0x4209c1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x14], 0
mov word [ebp - 0x28], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0xec], 1
mov byte [ebp - 4], 3
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x74]
cmp ecx, 7
jbe 0x42098d
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420983
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420cfe
push ecx
push edx
call fcn.00434ce3
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043488a
mov esp, ebp
pop ebp
ret
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push str.WorkingDirectoryUwp
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
call fcn.00404650
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x88]
mov edx, 0x80000001
push eax
lea ecx, [ebp - 0xa0]
call fcn.00427fd0
add esp, 8
mov byte [ebp - 4], 0xd
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.00403bb0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa0]
call fcn.00404310
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x420a62
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420a58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420d0d
push ecx
push edx
call fcn.00434ce3
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x30], eax
jne 0x420b30
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x60], eax
push str.WorkingDirectoryUwp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], eax
movups xmmword [ebp - 0x70], xmm0
call fcn.00404650
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x88]
mov edx, 0x80000002
push eax
lea ecx, [ebp - 0xb8]
call fcn.00427fd0
add esp, 8
mov byte [ebp - 4], 0x12
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.00403bb0
mov edi, eax
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x40]
cmp eax, edi
je 0x420b06
mov ecx, eax
call fcn.00404310
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xa0]
call fcn.00404310
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xb8]
call fcn.00404310
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x70]
call fcn.00404310
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x420bef
test al, 0x10
je 0x420bef
xorps xmm0, xmm0
mov dword [ebp - 0xec], 1
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
xor eax, eax
movups xmm0, xmmword [ebp - 0x40]
mov dword [esi + 0x14], 0
mov word [ebp - 0x40], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov byte [ebp - 4], 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x420939
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420be0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420cfe
push ecx
push edx
call fcn.00434ce3
add esp, 8
jmp 0x420939
xorps xmm0, xmm0
mov dword [ebp - 0xec], 1
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x420c5e
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420c54
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420cfe
push ecx
push edx
call fcn.00434ce3
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x420cac
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420ca2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420cfe
push ecx
push edx
call fcn.00434ce3
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x74]
cmp ecx, 7
jbe 0x42098d
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420983
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x420983
call fcn.0043e33e
call fcn.0043e33e
call fcn.0043e33e
call fcn.0043e33e
int3