Function at 0x43e4e0
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, [0x0043e9aa]
xor r13, r13
mov rax, qword [0x0044d1b0]
mov dword [rax], 0
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call fcn.00426cd0
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call fcn.00426e80
mov rdi, rax
cmp word [rdi], 0x3a
jne 0x43e66e
mov eax, dword [rbp + 0x2c]
cmp eax, 2
jle 0x43e66e
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.0043f390
mov r14d, eax
cmp r14d, 0xffffffff
je 0x43e59d
mov ecx, r14d
call fcn.0042ba90
test eax, eax
jne 0x43e647
mov ecx, r14d
call fcn.0042bb70
test eax, eax
jne 0x43e647
add rdi, 2
mov word [rdi], 0x3a
mov rax, qword [0x0044d328]
cmp dword [rax], 4
jne 0x43e602
mov rax, qword [0x0044d390]
cmp dword [rax], 0
jne 0x43e5f3
lea rcx, [rbp + 0x48]
mov rdx, qword [0x0044d370]
call fcn.0040eb30
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.0043ee20
mov rax, qword [0x0044d0f8]
mov dword [rax], 1
jmp 0x43e637
lea rcx, [rbp + 0x30]
mov rdx, qword [0x0044d370]
call fcn.0040eb30
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.0043ee20
cmp r14d, 0xffffffff
je 0x43e667
mov ecx, r14d
call fcn.0043f4c0
jmp 0x43e667
mov ecx, r14d
call fcn.0042ba90
test eax, eax
jne 0x43e65f
mov ecx, r14d
call fcn.0042bb70
test eax, eax
je 0x43e667
mov ecx, r14d
call fcn.0043f4c0
mov ecx, ebx
call sub.kernel32.dll_SetErrorMode
mov ecx, 0x250
call fcn.0043da20
mov rcx, qword [rbp + 0x20]
mov qword [rcx + 0x28], rax
movzx r14, word [rdi]
cmp r14w, 0x5c
jne 0x43e695
mov r13d, 1
jmp 0x43e6ff
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
mov dx, 0x5c
call fcn.00426c60
mov rdi, rax
test rdi, rdi
jne 0x43e6ce
mov rax, qword [rbp + 0x20]
mov rdi, qword [rax]
mov rcx, rdi
call fcn.00426cd0
cmp eax, 2
jl 0x43e6d2
cmp word [rdi + 2], 0x3a
jne 0x43e6d2
add rdi, 4
jmp 0x43e6d2
add rdi, 2
mov rcx, rdi
lea rdx, [0x0043e9b2]
call fcn.0041d730
test eax, eax
je 0x43e6f8
mov rcx, rdi
lea rdx, [0x0043e9b6]
call fcn.0041d730
test eax, eax
jne 0x43e6ff
mov r13d, 1
test r13d, r13d
jne 0x43e81c
mov rax, qword [0x0044d328]
cmp dword [rax], 4
jne 0x43e7d8
mov rax, qword [0x0044d2d8]
cmp dword [rax], 1
jne 0x43e775
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43e746
mov rax, qword [0x0044d1b0]
mov dword [rax], 0
jmp 0x43e754
call sub.kernel32.dll_GetLastError_2
mov rcx, qword [0x0044d1b0]
mov dword [rcx], eax
cmp ebx, 0xffffffff
je 0x43e81c
test ebx, 0x10
je 0x43e81c
mov r13d, 1
jmp 0x43e81c
mov rax, qword [0x0044d350]
cmp dword [rax], 1
jne 0x43e81c
mov rax, qword [0x0044d350]
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 0x43e7b4
mov rax, qword [0x0044d1b0]
mov dword [rax], 0
jmp 0x43e7c2
call sub.kernel32.dll_GetLastError_2
mov rcx, qword [0x0044d1b0]
mov dword [rcx], eax
cmp ebx, 0xffffffff
je 0x43e81c
test ebx, 0x10
je 0x43e81c
mov r13d, 1
jmp 0x43e81c
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43e7fa
mov rax, qword [0x0044d1b0]
mov dword [rax], 0
jmp 0x43e808
call sub.kernel32.dll_GetLastError_2
mov rcx, qword [0x0044d1b0]
mov dword [rcx], eax
cmp ebx, 0xffffffff
je 0x43e81c
test ebx, 0x10
je 0x43e81c
mov r13d, 1
test r13d, r13d
je 0x43e87b
cmp r14w, 0x5c
jne 0x43e82f
lea rsi, [0x0043e9ac]
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call fcn.0043e4a0
test al, al
jne 0x43e86d
mov ecx, dword [rbp + 0x2c]
add ecx, 5
add ecx, ecx
call fcn.0043da20
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.00426cf0
mov rcx, qword [rbp + 0x20]
mov qword [rcx], rax
mov rcx, qword [rcx]
mov rdx, rsi
call fcn.00426d10
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 0x43e8b4
cmp word [rax], 0x5c
je 0x43e8a4
cmp word [rax], 0x3a
jne 0x43e8a7
mov ecx, dword [rbp + 0x2c]
cmp ecx, 2
jne 0x43e8a7
mov rdi, rax
add rax, 2
mov ecx, dword [rbp + 0x2c]
add ecx, 1
mov dword [rbp + 0x2c], ecx
cmp word [rax], 0
jne 0x43e890
mov rax, qword [rbp + 0x20]
mov qword [rax + 0x10], rdi
test rdi, rdi
je 0x43e8e5
cmp word [rdi], 0
je 0x43e8db
lea rax, [rdi + 2]
mov rcx, qword [rbp + 0x20]
mov qword [rcx + 0x18], rax
jmp 0x43e8f4
mov rax, qword [rbp + 0x20]
mov qword [rax + 0x18], rdi
jmp 0x43e8f4
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.00426c30
test rax, rax
jne 0x43e916
mov rcx, rdi
mov dx, 0x3f
call fcn.00426c30
test rax, rax
je 0x43e92b
mov rax, qword [rbp + 0x20]
or dword [rax + 0x30], 8
mov rax, qword [0x0044cce8]
mov dword [rax], 1
mov rcx, rdi
mov dx, 0x2e
call fcn.00426c30
mov rcx, qword [rbp + 0x20]
mov qword [rcx + 0x20], rax
nop
lea rcx, [rbp + 0x30]
call fcn.0040a860
lea rcx, [rbp + 0x48]
call fcn.0040a860
lea rsp, [rbp + 0x58]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop rbp
ret