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

Disassembly:
push rbp
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x48], 0
nop
lea rsi, [0x0043b37a]
xor r13, r13
mov rax, qword [0x00449db0]
mov dword [rax], 0
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call fcn.004235c0
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call fcn.00423770
mov rdi, rax
cmp word [rdi], 0x3a
jne 0x43b03e
mov eax, dword [rbp + 0x2c]
cmp eax, 2
jle 0x43b03e
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.0043bd60
mov r14d, eax
cmp r14d, 0xffffffff
je 0x43af6d
mov ecx, r14d
call fcn.00428440
test eax, eax
jne 0x43b017
mov ecx, r14d
call fcn.00428520
test eax, eax
jne 0x43b017
add rdi, 2
mov word [rdi], 0x3a
mov rax, qword [0x00449f28]
cmp dword [rax], 4
jne 0x43afd2
mov rax, qword [0x00449f90]
cmp dword [rax], 0
jne 0x43afc3
lea rcx, [rbp + 0x48]
mov rdx, qword [0x00449f70]
call fcn.0040e3a0
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
mov qword [rbp + 0x38], rax
mov byte [rbp + 0x40], 0xa
mov rcx, qword [rbp + 0x48]
mov edx, 1
lea r8, [rbp + 0x38]
xor r9, r9
call fcn.0043b7f0
mov rax, qword [0x00449cf8]
mov dword [rax], 1
jmp 0x43b007
lea rcx, [rbp + 0x30]
mov rdx, qword [0x00449f70]
call fcn.0040e3a0
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
mov qword [rbp + 0x38], rax
mov byte [rbp + 0x40], 0xa
mov rcx, qword [rbp + 0x30]
mov edx, 1
lea r8, [rbp + 0x38]
xor r9, r9
call fcn.0043b7f0
cmp r14d, 0xffffffff
je 0x43b037
mov ecx, r14d
call fcn.0043be90
jmp 0x43b037
mov ecx, r14d
call fcn.00428440
test eax, eax
jne 0x43b02f
mov ecx, r14d
call fcn.00428520
test eax, eax
je 0x43b037
mov ecx, r14d
call fcn.0043be90
mov ecx, ebx
call sub.kernel32.dll_SetErrorMode
mov ecx, 0x250
call fcn.0043a3f0
mov rcx, qword [rbp + 0x20]
mov qword [rcx + 0x28], rax
movzx r14, word [rdi]
cmp r14w, 0x5c
jne 0x43b065
mov r13d, 1
jmp 0x43b0cf
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
mov dx, 0x5c
call fcn.00423550
mov rdi, rax
test rdi, rdi
jne 0x43b09e
mov rax, qword [rbp + 0x20]
mov rdi, qword [rax]
mov rcx, rdi
call fcn.004235c0
cmp eax, 2
jl 0x43b0a2
cmp word [rdi + 2], 0x3a
jne 0x43b0a2
add rdi, 4
jmp 0x43b0a2
add rdi, 2
mov rcx, rdi
lea rdx, [0x0043b382]
call fcn.0041b7c0
test eax, eax
je 0x43b0c8
mov rcx, rdi
lea rdx, [0x0043b386]
call fcn.0041b7c0
test eax, eax
jne 0x43b0cf
mov r13d, 1
test r13d, r13d
jne 0x43b1ec
mov rax, qword [0x00449f28]
cmp dword [rax], 4
jne 0x43b1a8
mov rax, qword [0x00449ed8]
cmp dword [rax], 1
jne 0x43b145
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43b116
mov rax, qword [0x00449db0]
mov dword [rax], 0
jmp 0x43b124
call sub.kernel32.dll_GetLastError_2
mov rcx, qword [0x00449db0]
mov dword [rcx], eax
cmp ebx, 0xffffffff
je 0x43b1ec
test ebx, 0x10
je 0x43b1ec
mov r13d, 1
jmp 0x43b1ec
mov rax, qword [0x00449f50]
cmp dword [rax], 1
jne 0x43b1ec
mov rax, qword [0x00449f50]
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 0x43b184
mov rax, qword [0x00449db0]
mov dword [rax], 0
jmp 0x43b192
call sub.kernel32.dll_GetLastError_2
mov rcx, qword [0x00449db0]
mov dword [rcx], eax
cmp ebx, 0xffffffff
je 0x43b1ec
test ebx, 0x10
je 0x43b1ec
mov r13d, 1
jmp 0x43b1ec
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43b1ca
mov rax, qword [0x00449db0]
mov dword [rax], 0
jmp 0x43b1d8
call sub.kernel32.dll_GetLastError_2
mov rcx, qword [0x00449db0]
mov dword [rcx], eax
cmp ebx, 0xffffffff
je 0x43b1ec
test ebx, 0x10
je 0x43b1ec
mov r13d, 1
test r13d, r13d
je 0x43b24b
cmp r14w, 0x5c
jne 0x43b1ff
lea rsi, [0x0043b37c]
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call fcn.0043ae70
test al, al
jne 0x43b23d
mov ecx, dword [rbp + 0x2c]
add ecx, 5
add ecx, ecx
call fcn.0043a3f0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.004235e0
mov rcx, qword [rbp + 0x20]
mov qword [rcx], rax
mov rcx, qword [rcx]
mov rdx, rsi
call fcn.00423600
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 0x43b284
cmp word [rax], 0x5c
je 0x43b274
cmp word [rax], 0x3a
jne 0x43b277
mov ecx, dword [rbp + 0x2c]
cmp ecx, 2
jne 0x43b277
mov rdi, rax
add rax, 2
mov ecx, dword [rbp + 0x2c]
add ecx, 1
mov dword [rbp + 0x2c], ecx
cmp word [rax], 0
jne 0x43b260
mov rax, qword [rbp + 0x20]
mov qword [rax + 0x10], rdi
test rdi, rdi
je 0x43b2b5
cmp word [rdi], 0
je 0x43b2ab
lea rax, [rdi + 2]
mov rcx, qword [rbp + 0x20]
mov qword [rcx + 0x18], rax
jmp 0x43b2c4
mov rax, qword [rbp + 0x20]
mov qword [rax + 0x18], rdi
jmp 0x43b2c4
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.00423520
test rax, rax
jne 0x43b2e6
mov rcx, rdi
mov dx, 0x3f
call fcn.00423520
test rax, rax
je 0x43b2fb
mov rax, qword [rbp + 0x20]
or dword [rax + 0x30], 8
mov rax, qword [0x004498f0]
mov dword [rax], 1
mov rcx, rdi
mov dx, 0x2e
call fcn.00423520
mov rcx, qword [rbp + 0x20]
mov qword [rcx + 0x20], rax
nop
lea rcx, [rbp + 0x30]
call fcn.0040a110
lea rcx, [rbp + 0x48]
call fcn.0040a110
lea rsp, [rbp + 0x58]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop rbp
ret