Function at 0x180069ef0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3f0
movaps xmmword [rax - 0x48], xmm6
mov rdi, rdx
mov r14, rcx
xor esi, esi
mov dword [rax + 0x18], esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], rsi
mov r13, qword [rdx + 0x10]
mov rax, rdx
mov qword [rsp + 0x440], rdx
cmp qword [rdx + 0x18], 7
jbe 0x180069f4a
mov rax, qword [rdx]
mov qword [rsp + 0x440], rax
movabs r15, 0x7ffffffffffffffe
cmp r13, r15
ja 0x18006a76a
mov r12d, 0xa
cmp r13, 7
ja 0x180069f8b
mov qword [rsp + 0x60], r13
mov r15d, 7
mov qword [rsp + 0x68], r15
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x50], xmm6
movq rbx, xmm6
jmp 0x18006a039
mov rax, r13
or rax, 7
cmp rax, r15
jbe 0x180069fda
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x18006a005
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18006a764
mov rcx, rax
call fcn.180111264
test rax, rax
je 0x18006a0cb
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x18006a00d
mov r15, rax
cmp rax, r12
cmovb r15, r12
lea rcx, [r15 + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x18006a764
add rcx, rcx
jne 0x180069fa5
mov rbx, rsi
jmp 0x18006a00d
call fcn.180111264
mov rbx, rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r15
lea r8, [r13*2 + 2]
mov rdx, qword [rsp + 0x440]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movups xmm6, xmmword [rsp + 0x50]
lea rax, [rsp + 0x50]
cmp r14, rax
je 0x18006a09c
mov rdx, qword [r14 + 0x18]
cmp rdx, 7
jbe 0x18006a07e
mov rcx, qword [r14]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x18006a079
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006a0cb
mov rcx, r8
call fcn.180111228
movups xmmword [r14], xmm6
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [r14 + 0x10], xmm0
mov r15d, 7
mov word [rsp + 0x50], si
mov rbx, qword [rsp + 0x50]
cmp r15, 7
jbe 0x18006a0da
lea rdx, [r15*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18006a0d2
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006a0d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180111228
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x18006a0e7
mov rcx, qword [rdi]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rsp + 0x180]
call fcn.1801105a8
mov r8d, eax
test eax, eax
jne 0x18006a157
mov edx, dword [rsp + 0x190]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rsp + 0x34], ecx
mov ecx, edx
shr ecx, 0xa
test cl, 1
je 0x18006a149
mov eax, dword [rsp + 0x194]
cmp eax, 0xa000000c
jne 0x18006a142
mov r12d, 4
jmp 0x18006a17c
cmp eax, 0xa0000003
je 0x18006a17c
shr edx, 4
and edx, 1
or edx, 2
mov r12d, edx
jmp 0x18006a17c
mov dword [rsp + 0x34], 0xffff
sub eax, 2
je 0x18006a176
sub eax, 1
je 0x18006a176
sub eax, 0x32
je 0x18006a176
cmp eax, 0x46
mov r12d, esi
jne 0x18006a17c
mov r12d, 1
mov dword [rsp + 0x30], r8d
lea rax, [0x1801c42d8]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
test r12d, r12d
jne 0x18006a1a8
test r8d, r8d
jne 0x18006a770
jmp 0x18006a1ae
cmp r12d, 1
jne 0x18006a220
mov rcx, r14
call fcn.18006a910
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x18006a1f6
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x18006a1f1
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006a722
mov rcx, r8
call fcn.180111228
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
movaps xmm6, xmmword [rsp + 0x3e0]
add rsp, 0x3f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rbx, r14
cmp qword [r14 + 0x18], 7
jbe 0x18006a22d
mov rbx, qword [r14]
lea rax, [0x1801568f0]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x120]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x440], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], r12
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea r13, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x80], r13
mov byte [rsp + 0xfc], 0
mov byte [rsp + 0xf1], 0
lea rcx, [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rsp + 0x100], rsi
mov rax, qword [0x1801ec9e0]
mov qword [rsp + 0xf4], rax
mov qword [rsp + 0xe8], rsi
mov r8d, 1
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.180032040
test rax, rax
jne 0x18006a32a
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r12
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
mov qword [rsp + 0x1b8], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov rax, qword [rsp + rcx + 0xb8]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x180]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x1e0]
call fcn.1800572a0
nop
lea r8, [r14 + 0x40]
mov rcx, rax
call fcn.180051ce0
nop
lea rcx, [rsp + 0x228]
call fcn.180050fd0
mov rcx, qword [rsp + 0x218]
test rcx, rcx
je 0x18006a3c9
mov rax, qword [rcx]
lea rdx, [rsp + 0x1e0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
cmp qword [rsp + 0x100], 0
je 0x18006a58a
lea rcx, [rsp + 0xf0]
mov rax, qword [rsp + 0x98]
cmp qword [rax], rcx
jne 0x18006a417
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x108]
mov qword [rax], rcx
mov rax, qword [rsp + 0xb8]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rsp + 0xd0]
mov dword [rax], edx
cmp qword [rsp + 0xe8], 0
je 0x18006a4c1
cmp byte [rsp + 0xf1], 0
je 0x18006a4c1
mov rax, qword [rsp + 0x80]
mov r8, qword [rax + 0x18]
lea rax, [fcn.180033310]
mov edx, 0xffffffff
lea rcx, [rsp + 0x80]
cmp r8, rax
jne 0x18006a460
call fcn.180033310
jmp 0x18006a463
call r8
cmp eax, 0xffffffff
jne 0x18006a46c
xor bl, bl
jmp 0x18006a4c3
lea rax, [rsp + 0x440]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1e0]
lea r8, [rsp + 0x1c0]
lea rdx, [rsp + 0xf4]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x18006a533
sub eax, 1
je 0x18006a53b
cmp eax, 2
je 0x18006a4b9
xor bl, bl
jmp 0x18006a4c3
mov byte [rsp + 0xf1], 0
mov bl, 1
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rcx, [rsp + 0x80]
test bl, bl
cmove rcx, rsi
mov rbx, rsi
test eax, eax
cmove rbx, rcx
mov byte [rsp + 0xfc], 0
mov byte [rsp + 0xf1], 0
lea rcx, [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rsp + 0x100], rsi
mov rax, qword [0x1801ec9e0]
mov qword [rsp + 0xf4], rax
mov qword [rsp + 0xe8], rsi
test rbx, rbx
jne 0x18006a5e7
jmp 0x18006a5c7
mov byte [rsp + 0xf1], 0
lea rax, [rsp + 0x1c0]
mov rbx, qword [rsp + 0x440]
sub rbx, rax
je 0x18006a57a
mov r9, qword [rsp + 0x100]
mov r8, rbx
mov edx, 1
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
je 0x18006a57a
xor bl, bl
jmp 0x18006a4c3
cmp byte [rsp + 0xf1], 0
sete bl
jmp 0x18006a4c3
mov byte [rsp + 0xfc], 0
mov byte [rsp + 0xf1], 0
lea rcx, [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rsp + 0x100], rsi
mov rax, qword [0x1801ec9e0]
mov qword [rsp + 0xf4], rax
mov qword [rsp + 0xe8], rsi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov r15, qword [r14 + 0x28]
mov rbx, qword [r14 + 0x20]
cmp rbx, r15
je 0x18006a608
mov rdx, qword [rbx]
mov rcx, r14
call fcn.18006a780
add rbx, 8
cmp rbx, r15
jne 0x18006a5f4
mov dword [rsp + 0x30], 0x2b
mov dword [rsp + 0x34], 3
lea rax, str.C:_action_runner_workHorseMenuHorseMenu_srccore_settingsSettings.cpp
mov qword [rsp + 0x38], rax
lea rax, str.void___cdecl_YimMenu::Settings::InitializeImpl_class_YimMenu::File_
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x30]
xor edx, edx
lea rcx, [rsp + 0x2c8]
call fcn.18010dcd0
nop
lea rcx, [rax + 0x28]
lea rdx, str.Initial_Settings_Load_Completed
call fcn.18001a8e0
nop
lea rcx, [rsp + 0x2c8]
call fcn.18010e270
mov byte [r14 + 0x38], 1
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r12
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
mov qword [rsp + 0x80], r13
cmp qword [rsp + 0x100], 0
je 0x18006a6db
lea rcx, [rsp + 0xf0]
mov rax, qword [rsp + 0x98]
cmp qword [rax], rcx
jne 0x18006a6db
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x108]
mov qword [rax], rcx
mov rax, qword [rsp + 0xb8]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rsp + 0xd0]
mov dword [rax], edx
cmp byte [rsp + 0xfc], 0
je 0x18006a6f2
lea rcx, [rsp + 0x80]
call fcn.1800335b0
lea rcx, [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x120]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x18006a1b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x70]
call fcn.18004fb90
nop
mov rbx, qword [rsp + 0x438]
mov r8, qword [rbx + 0x18]
cmp r8, 7
jbe 0x18006a74e
mov rdx, qword [rbx]
call fcn.1800255c0
xor esi, esi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
jmp 0x18006a205
call fcn.18001db70
int3
call fcn.18001d640
int3
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.180025400
int3