Function at 0x1400067c4
Capabilities:
Check if file exists
Get file attributes
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rdi, qword [0x14002aa78]
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edx, ax
lea rcx, [0x140038000]
call fcn.14000745c
call fcn.1400066b8
mov eax, dword [0x14002aa70]
lea rbp, [0x140036800]
and eax, 0x20
mov dword [0x14002ab5c], 0x10000
mov rcx, rbp
mov dword [0x14002ab40], eax
call fcn.140007470
xor esi, esi
test eax, eax
jne 0x1400068de
cmp dword [rdi + 0x68], esi
je 0x1400068de
mov rcx, qword [0x14002aaa4]
lea rbx, [0x1400289a0]
movsxd rax, dword [rdi + 0x6c]
mov r9, rbx
mov dword [rsp + 0x20], esi
lea r8, [rcx + rax*2]
movsxd rax, dword [rdi + 0x68]
lea rdx, [rcx + rax*2]
movsxd rcx, dword [rdi + 0x64]
call fcn.1400078e0
movzx eax, word [0x1400289a0]
test ax, ax
je 0x1400068de
lea edx, [rsi + 0x22]
cmp ax, dx
jne 0x140006888
lea rbx, [0x1400289a2]
mov rcx, rbx
call fcn.14000742c
mov word [rax], si
mov rcx, rbx
call sub.KERNEL32.dll_lstrlenW
movsxd rcx, eax
add rcx, 0xfffffffffffffffc
lea rcx, [rbx + rcx*2]
cmp rcx, rbx
jbe 0x1400068cb
lea rdx, str..exe
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400068cb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400068c3
test al, 0x10
jne 0x1400068cb
mov rcx, rbx
call fcn.140007cc4
mov rcx, rbx
call fcn.140007354
mov rdx, rax
mov rcx, rbp
call fcn.140007afc
mov rcx, rbp
call fcn.140007470
test eax, eax
jne 0x1400068f8
mov edx, dword [rdi + 0x138]
mov rcx, rbp
call fcn.140006ce0
mov rcx, qword [0x140029a38]
xor r9d, r9d
mov dword [rsp + 0x28], 0x8040
mov dword [rsp + 0x20], esi
lea ebp, [r9 + 1]
mov r8d, ebp
lea edx, [rbp + 0x66]
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [0x140029a00], rax
lea rbx, [0x1400299a0]
cmp dword [rdi + 0x70], 0xffffffff
je 0x1400069f4
lea rcx, section..text
mov qword [0x1400299c0], rax
mov qword [0x1400299a8], rcx
lea rdi, [0x140009970]
mov rcx, qword [0x140029a38]
mov qword [0x1400299b8], rcx
mov rcx, rbx
mov qword [0x1400299e0], rdi
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x14000697c
xor eax, eax
jmp 0x140006adf
xor edx, edx
lea r8, [rsp + 0x60]
xor r9d, r9d
lea ecx, [rdx + 0x30]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov r8d, dword [rsp + 0x60]
mov rdx, rdi
mov r10d, dword [rsp + 0x64]
mov rax, qword [0x140029a38]
mov r9d, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x68]
sub r9d, r10d
mov qword [rsp + 0x58], rsi
sub ecx, r8d
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], r9d
mov r9d, 0x80000000
mov dword [rsp + 0x30], ecx
mov ecx, 0x80
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r8d
xor r8d, r8d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x140025298], rax
xor ecx, ecx
call fcn.140001610
mov edi, 2
test eax, eax
jne 0x140006add
call fcn.1400066b8
cmp dword [0x14002ab60], esi
jne 0x140006ac3
mov rcx, qword [0x140025298]
lea edx, [rdi + 3]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, str.RichEd20
call fcn.140007040
test rax, rax
jne 0x140006a46
lea rcx, str.RichEd32
call fcn.140007040
lea rdi, str.RichEdit20W
mov r8, rbx
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetClassInfoW]
test eax, eax
jne 0x140006a81
mov r8, rbx
lea rdx, str.RichEdit
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetClassInfoW]
mov rcx, rbx
mov qword [0x1400299e0], rdi
call qword [sym.imp.USER32.dll_RegisterClassW]
movzx eax, word [0x1400299f8]
lea r9, [0x140005adc]
mov rcx, qword [0x140029a38]
add ax, 0x69
movzx edx, ax
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.USER32.dll_DialogBoxParamW]
mov ecx, 5
mov rbx, rax
call fcn.140001610
mov ecx, ebp
call fcn.1400043cc
mov eax, ebx
jmp 0x140006adf
xor ecx, ecx
call fcn.140006534
test eax, eax
je 0x140006af5
cmp dword [0x140029a28], esi
jne 0x140006add
mov ecx, edi
call fcn.140001610
mov eax, edi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, ebp
call fcn.140001610
jmp 0x140006975