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

Disassembly:
push rbp
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x20], rcx
lea rsi, [0x0043fbf2]
xor r13, r13
mov rax, qword [0x0044d4a8]
mov dword [rax], 0
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call fcn.00426d10
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call fcn.00426f10
mov rdi, rax
cmp word [rdi], 0x3a
jne 0x43f903
mov eax, dword [rbp + 0x2c]
cmp eax, 2
jle 0x43f903
mov word [rdi], 0
sub rdi, 2
xor rcx, rcx
call sub.kernel32.dll_SetErrorMode
mov ebx, eax
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
mov edx, 0x8000
call fcn.00440710
mov r14d, eax
cmp r14d, 0xffffffff
je 0x43f84c
mov ecx, r14d
call fcn.0042b700
test eax, eax
jne 0x43f8dc
mov ecx, r14d
call fcn.0042b7e0
test eax, eax
jne 0x43f8dc
add rdi, 2
mov word [rdi], 0x3a
mov rax, qword [0x0044d5e8]
cmp dword [rax], 4
jne 0x43f8a4
mov rax, qword [0x0044d628]
cmp dword [rax], 0
jne 0x43f895
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
mov qword [rbp + 0x30], rax
mov byte [rbp + 0x38], 0xa
lea rcx, [0x0043fc08]
mov edx, 1
lea r8, [rbp + 0x30]
xor r9, r9
call fcn.00440100
mov rax, qword [0x0044d408]
mov dword [rax], 1
jmp 0x43f8cc
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
mov qword [rbp + 0x30], rax
mov byte [rbp + 0x38], 0xa
lea rcx, [0x0043fc08]
mov edx, 1
lea r8, [rbp + 0x30]
xor r9, r9
call fcn.00440100
cmp r14d, 0xffffffff
je 0x43f8fc
mov ecx, r14d
call fcn.00440840
jmp 0x43f8fc
mov ecx, r14d
call fcn.0042b700
test eax, eax
jne 0x43f8f4
mov ecx, r14d
call fcn.0042b7e0
test eax, eax
je 0x43f8fc
mov ecx, r14d
call fcn.00440840
mov ecx, ebx
call sub.kernel32.dll_SetErrorMode
mov ecx, 0x250
call fcn.0043eb20
mov rcx, qword [rbp + 0x20]
mov qword [rcx + 0x28], rax
movzx r14, word [rdi]
cmp r14w, 0x5c
jne 0x43f92a
mov r13d, 1
jmp 0x43f994
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
mov dx, 0x5c
call fcn.00426ca0
mov rdi, rax
test rdi, rdi
jne 0x43f963
mov rax, qword [rbp + 0x20]
mov rdi, qword [rax]
mov rcx, rdi
call fcn.00426d10
cmp eax, 2
jl 0x43f967
cmp word [rdi + 2], 0x3a
jne 0x43f967
add rdi, 4
jmp 0x43f967
add rdi, 2
mov rcx, rdi
lea rdx, [0x0043fc4e]
call fcn.0041ce50
test eax, eax
je 0x43f98d
mov rcx, rdi
lea rdx, [0x0043fc52]
call fcn.0041ce50
test eax, eax
jne 0x43f994
mov r13d, 1
test r13d, r13d
jne 0x43fab1
mov rax, qword [0x0044d5e8]
cmp dword [rax], 4
jne 0x43fa6d
mov rax, qword [0x0044d5b0]
cmp dword [rax], 1
jne 0x43fa0a
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43f9db
mov rax, qword [0x0044d4a8]
mov dword [rax], 0
jmp 0x43f9e9
call sub.kernel32.dll_GetLastError_2
mov rcx, qword [0x0044d4a8]
mov dword [rcx], eax
cmp ebx, 0xffffffff
je 0x43fab1
test ebx, 0x10
je 0x43fab1
mov r13d, 1
jmp 0x43fab1
mov rax, qword [0x0044d5f8]
cmp dword [rax], 1
jne 0x43fab1
mov rax, qword [0x0044d5f8]
mov dword [rax], 0
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43fa49
mov rax, qword [0x0044d4a8]
mov dword [rax], 0
jmp 0x43fa57
call sub.kernel32.dll_GetLastError_2
mov rcx, qword [0x0044d4a8]
mov dword [rcx], eax
cmp ebx, 0xffffffff
je 0x43fab1
test ebx, 0x10
je 0x43fab1
mov r13d, 1
jmp 0x43fab1
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43fa8f
mov rax, qword [0x0044d4a8]
mov dword [rax], 0
jmp 0x43fa9d
call sub.kernel32.dll_GetLastError_2
mov rcx, qword [0x0044d4a8]
mov dword [rcx], eax
cmp ebx, 0xffffffff
je 0x43fab1
test ebx, 0x10
je 0x43fab1
mov r13d, 1
test r13d, r13d
je 0x43fb10
cmp r14w, 0x5c
jne 0x43fac4
lea rsi, [0x0043fbf4]
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call fcn.0043f760
test al, al
jne 0x43fb02
mov ecx, dword [rbp + 0x2c]
add ecx, 5
add ecx, ecx
call fcn.0043eb20
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.00426d30
mov rcx, qword [rbp + 0x20]
mov qword [rcx], rax
mov rcx, qword [rcx]
mov rdx, rsi
call fcn.00426d50
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x28]
mov dword [rax], 0x10
mov eax, 1
mov dword [rbp + 0x2c], eax
xor rdi, rdi
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
jmp 0x43fb49
cmp word [rax], 0x5c
je 0x43fb39
cmp word [rax], 0x3a
jne 0x43fb3c
mov ecx, dword [rbp + 0x2c]
cmp ecx, 2
jne 0x43fb3c
mov rdi, rax
add rax, 2
mov ecx, dword [rbp + 0x2c]
add ecx, 1
mov dword [rbp + 0x2c], ecx
cmp word [rax], 0
jne 0x43fb25
mov rax, qword [rbp + 0x20]
mov qword [rax + 0x10], rdi
test rdi, rdi
je 0x43fb7a
cmp word [rdi], 0
je 0x43fb70
lea rax, [rdi + 2]
mov rcx, qword [rbp + 0x20]
mov qword [rcx + 0x18], rax
jmp 0x43fb89
mov rax, qword [rbp + 0x20]
mov qword [rax + 0x18], rdi
jmp 0x43fb89
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx]
mov qword [rcx + 0x18], rax
mov rdi, qword [rcx + 0x18]
mov rcx, rdi
mov dx, 0x2a
call fcn.00426c70
test rax, rax
jne 0x43fbab
mov rcx, rdi
mov dx, 0x3f
call fcn.00426c70
test rax, rax
je 0x43fbc0
mov rax, qword [rbp + 0x20]
or dword [rax + 0x30], 8
mov rax, qword [0x0044d138]
mov dword [rax], 1
mov rcx, rdi
mov dx, 0x2e
call fcn.00426c70
mov rcx, qword [rbp + 0x20]
mov qword [rcx + 0x20], rax
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop rbp
ret