Function at 0x43da90
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, [0x0043df5a]
xor r13, r13
mov rax, qword [0x0044bc98]
mov dword [rax], 0
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call fcn.00426280
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call fcn.00426430
mov rdi, rax
cmp word [rdi], 0x3a
jne 0x43dc1e
mov eax, dword [rbp + 0x2c]
cmp eax, 2
jle 0x43dc1e
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.0043e940
mov r14d, eax
cmp r14d, 0xffffffff
je 0x43db4d
mov ecx, r14d
call fcn.0042b040
test eax, eax
jne 0x43dbf7
mov ecx, r14d
call fcn.0042b120
test eax, eax
jne 0x43dbf7
add rdi, 2
mov word [rdi], 0x3a
mov rax, qword [0x0044be10]
cmp dword [rax], 4
jne 0x43dbb2
mov rax, qword [0x0044be78]
cmp dword [rax], 0
jne 0x43dba3
lea rcx, [rbp + 0x48]
mov rdx, qword [0x0044be58]
call fcn.0040e0f0
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.0043e3d0
mov rax, qword [0x0044bbe0]
mov dword [rax], 1
jmp 0x43dbe7
lea rcx, [rbp + 0x30]
mov rdx, qword [0x0044be58]
call fcn.0040e0f0
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.0043e3d0
cmp r14d, 0xffffffff
je 0x43dc17
mov ecx, r14d
call fcn.0043ea70
jmp 0x43dc17
mov ecx, r14d
call fcn.0042b040
test eax, eax
jne 0x43dc0f
mov ecx, r14d
call fcn.0042b120
test eax, eax
je 0x43dc17
mov ecx, r14d
call fcn.0043ea70
mov ecx, ebx
call sub.kernel32.dll_SetErrorMode
mov ecx, 0x250
call fcn.0043cfd0
mov rcx, qword [rbp + 0x20]
mov qword [rcx + 0x28], rax
movzx r14, word [rdi]
cmp r14w, 0x5c
jne 0x43dc45
mov r13d, 1
jmp 0x43dcaf
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
mov dx, 0x5c
call fcn.00426210
mov rdi, rax
test rdi, rdi
jne 0x43dc7e
mov rax, qword [rbp + 0x20]
mov rdi, qword [rax]
mov rcx, rdi
call fcn.00426280
cmp eax, 2
jl 0x43dc82
cmp word [rdi + 2], 0x3a
jne 0x43dc82
add rdi, 4
jmp 0x43dc82
add rdi, 2
mov rcx, rdi
lea rdx, [0x0043df62]
call fcn.0041cce0
test eax, eax
je 0x43dca8
mov rcx, rdi
lea rdx, [0x0043df66]
call fcn.0041cce0
test eax, eax
jne 0x43dcaf
mov r13d, 1
test r13d, r13d
jne 0x43ddcc
mov rax, qword [0x0044be10]
cmp dword [rax], 4
jne 0x43dd88
mov rax, qword [0x0044bdc0]
cmp dword [rax], 1
jne 0x43dd25
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43dcf6
mov rax, qword [0x0044bc98]
mov dword [rax], 0
jmp 0x43dd04
call sub.kernel32.dll_GetLastError_2
mov rcx, qword [0x0044bc98]
mov dword [rcx], eax
cmp ebx, 0xffffffff
je 0x43ddcc
test ebx, 0x10
je 0x43ddcc
mov r13d, 1
jmp 0x43ddcc
mov rax, qword [0x0044be38]
cmp dword [rax], 1
jne 0x43ddcc
mov rax, qword [0x0044be38]
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 0x43dd64
mov rax, qword [0x0044bc98]
mov dword [rax], 0
jmp 0x43dd72
call sub.kernel32.dll_GetLastError_2
mov rcx, qword [0x0044bc98]
mov dword [rcx], eax
cmp ebx, 0xffffffff
je 0x43ddcc
test ebx, 0x10
je 0x43ddcc
mov r13d, 1
jmp 0x43ddcc
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43ddaa
mov rax, qword [0x0044bc98]
mov dword [rax], 0
jmp 0x43ddb8
call sub.kernel32.dll_GetLastError_2
mov rcx, qword [0x0044bc98]
mov dword [rcx], eax
cmp ebx, 0xffffffff
je 0x43ddcc
test ebx, 0x10
je 0x43ddcc
mov r13d, 1
test r13d, r13d
je 0x43de2b
cmp r14w, 0x5c
jne 0x43dddf
lea rsi, [0x0043df5c]
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
call fcn.0043da50
test al, al
jne 0x43de1d
mov ecx, dword [rbp + 0x2c]
add ecx, 5
add ecx, ecx
call fcn.0043cfd0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.004262a0
mov rcx, qword [rbp + 0x20]
mov qword [rcx], rax
mov rcx, qword [rcx]
mov rdx, rsi
call fcn.004262c0
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 0x43de64
cmp word [rax], 0x5c
je 0x43de54
cmp word [rax], 0x3a
jne 0x43de57
mov ecx, dword [rbp + 0x2c]
cmp ecx, 2
jne 0x43de57
mov rdi, rax
add rax, 2
mov ecx, dword [rbp + 0x2c]
add ecx, 1
mov dword [rbp + 0x2c], ecx
cmp word [rax], 0
jne 0x43de40
mov rax, qword [rbp + 0x20]
mov qword [rax + 0x10], rdi
test rdi, rdi
je 0x43de95
cmp word [rdi], 0
je 0x43de8b
lea rax, [rdi + 2]
mov rcx, qword [rbp + 0x20]
mov qword [rcx + 0x18], rax
jmp 0x43dea4
mov rax, qword [rbp + 0x20]
mov qword [rax + 0x18], rdi
jmp 0x43dea4
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.004261e0
test rax, rax
jne 0x43dec6
mov rcx, rdi
mov dx, 0x3f
call fcn.004261e0
test rax, rax
je 0x43dedb
mov rax, qword [rbp + 0x20]
or dword [rax + 0x30], 8
mov rax, qword [0x0044b7d8]
mov dword [rax], 1
mov rcx, rdi
mov dx, 0x2e
call fcn.004261e0
mov rcx, qword [rbp + 0x20]
mov qword [rcx + 0x20], rax
nop
lea rcx, [rbp + 0x30]
call fcn.00409ff0
lea rcx, [rbp + 0x48]
call fcn.00409ff0
lea rsp, [rbp + 0x58]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop rbp
ret