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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455507
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
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, dword [ebp + 8]
mov ecx, 0x5c
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa4], 0
mov word [ebp - 0xa8], cx
mov dword [ebp - 4], 1
mov ecx, dword [eax + 0x10]
cmp ecx, 0x7ffffffe
je 0x423e83
cmp dword [eax + 0x14], 7
jbe 0x423ab0
mov eax, dword [eax]
push 1
lea edx, [ebp - 0xa8]
push edx
push ecx
push eax
push ecx
push dword [ebp - 0xac]
lea ecx, [ebp - 0xa0]
call fcn.0041c110
push edi
lea edx, [ebp - 0xa0]
mov dword [ebp - 0xa4], 2
lea ecx, [ebp - 0x70]
call fcn.00419b20
add esp, 4
mov byte [ebp - 4], 2
mov edi, 2
mov dword [ebp - 0xa4], edi
and edi, 0xfffffffd
mov dword [ebp - 0xa4], edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.00404310
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.WorkingDirectorySys
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
call fcn.00404650
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
mov edx, 0x80000002
push eax
lea ecx, [ebp - 0x88]
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 - 0x88]
call fcn.00404310
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x423bae
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x423ba4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423e88
push ecx
push edx
call fcn.00434ce3
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x14], 7
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 7
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x423c28
test al, 0x10
je 0x423c28
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
or edi, 1
mov dword [ebp - 0xa4], edi
mov byte [ebp - 4], 3
jmp 0x423d8f
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.WorkingDirectoryUwp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
call fcn.00404650
mov byte [ebp - 4], 9
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
mov edx, 0x80000002
push eax
lea ecx, [ebp - 0x88]
call fcn.00427fd0
add esp, 8
mov byte [ebp - 4], 0xa
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00403bb0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x88]
call fcn.00404310
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x423cc6
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x423cbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423e8d
push ecx
push edx
call fcn.00434ce3
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x44], 7
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push eax
mov dword [ebp - 0x2c], 7
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x423dc9
test al, 0x10
je 0x423dc9
xorps xmm0, xmm0
xor eax, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
or edi, 1
movups xmm0, xmmword [ebp - 0x58]
mov dword [esi + 0x14], 0
mov word [ebp - 0x58], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov dword [ebp - 0xa4], edi
mov byte [ebp - 4], 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x423d8f
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x423d85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423e7e
push ecx
push edx
call fcn.00434ce3
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 - 0x70]
call fcn.00404310
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 0xc
xorps xmm0, xmm0
mov ecx, esi
push 4
movups xmmword [esi], xmm0
push str.none
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00404650
or edi, 1
mov dword [ebp - 0xa4], edi
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x423e2e
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x423e24
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423e7e
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
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x423d8f
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x423d85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x423d85
call fcn.0043e33e
call fcn.00402e30
call fcn.0043e33e
call fcn.0043e33e
int3