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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45337f
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x473018]
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.00420250
mov dword [ebp - 4], 1
mov edx, str.SoftwareCaphyonAdvanced_Installer_
push eax
lea ecx, [ebp - 0x88]
call fcn.004284c0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd0]
call fcn.004040c0
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.00404580
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.00426770
add esp, 8
mov byte [ebp - 4], 5
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00403940
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe8]
call fcn.004040c0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x5c]
cmp ecx, 8
jb 0x41fd9b
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41fd91
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420236
push ecx
push edx
call fcn.004332cf
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 0x41feaf
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.00404580
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.00426770
add esp, 8
mov byte [ebp - 4], 0xa
mov edx, eax
lea ecx, [ebp - 0xb8]
call fcn.00403940
mov edi, eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x41fe3f
mov ecx, eax
call fcn.004040c0
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.004040c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa0]
call fcn.004040c0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x41fe9b
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41fe91
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42023b
push ecx
push edx
call fcn.004332cf
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], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41ff16
test al, 0x10
je 0x41ff16
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
jmp 0x42013b
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.00404580
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.00426770
add esp, 8
mov byte [ebp - 4], 0xd
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.00403940
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa0]
call fcn.004040c0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x41ffb7
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ffad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420240
push ecx
push edx
call fcn.004332cf
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 0x420085
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.00404580
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.00426770
add esp, 8
mov byte [ebp - 4], 0x12
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.00403940
mov edi, eax
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x40]
cmp eax, edi
je 0x42005b
mov ecx, eax
call fcn.004040c0
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.004040c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xb8]
call fcn.004040c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x70]
call fcn.004040c0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x420176
test al, 0x10
je 0x420176
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, 8
jb 0x42013b
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420131
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420231
push ecx
push edx
call fcn.004332cf
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x88]
call fcn.004040c0
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.00432e76
mov esp, ebp
pop ebp
ret
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, 8
jb 0x4201e1
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4201d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420231
push ecx
push edx
call fcn.004332cf
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, 8
jb 0x42013b
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420131
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x420131
call fcn.0043c8de
call fcn.0043c8de
call fcn.0043c8de
call fcn.0043c8de
int3