Function at 0x180053e30
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 0x180053e8a
mov rax, qword [rdx]
mov qword [rsp + 0x440], rax
movabs r15, 0x7ffffffffffffffe
cmp r13, r15
ja 0x1800546ab
mov r12d, 0xa
cmp r13, 7
ja 0x180053ecb
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 0x180053f7e
mov rax, r13
or rax, 7
cmp rax, r15
jbe 0x180053ee7
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x180053f14
mov r15, rax
cmp rax, r12
cmovb r15, r12
lea rcx, [r15 + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1800546a5
add rcx, rcx
cmp rcx, 0x1000
jb 0x180053f40
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800546a5
mov rcx, rax
call fcn.1800ffa74
test rax, rax
je 0x180054010
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x180053f52
test rcx, rcx
je 0x180053f4f
call fcn.1800ffa74
mov rbx, rax
jmp 0x180053f52
mov rbx, rsi
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 0x180053fe1
mov rdx, qword [r14 + 0x18]
cmp rdx, 7
jbe 0x180053fc3
mov rcx, qword [r14]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x180053fbe
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180054010
mov rcx, r8
call fcn.1800ffa38
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 0x18005401f
lea rdx, [r15*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180054017
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180054017
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1800ffa38
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x18005402c
mov rcx, qword [rdi]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rsp + 0x180]
call fcn.1800fedb4
mov edx, eax
test eax, eax
jne 0x18005409c
mov eax, dword [rsp + 0x190]
test al, 1
mov ecx, 0x1ff
mov r8d, 0x16d
cmovne ecx, r8d
mov dword [rsp + 0x34], ecx
bt eax, 0xa
jae 0x18005408a
mov ecx, dword [rsp + 0x194]
cmp ecx, 0xa000000c
jne 0x180054082
lea r12d, [rdx + 4]
jmp 0x1800540c1
cmp ecx, 0xa0000003
je 0x1800540c1
movzx r12d, al
and r12d, 0x10
or r12d, 0x20
shr r12d, 4
jmp 0x1800540c1
mov dword [rsp + 0x34], 0xffff
sub eax, 2
je 0x1800540bb
sub eax, 1
je 0x1800540bb
sub eax, 0x32
je 0x1800540bb
cmp eax, 0x46
mov r12d, esi
jne 0x1800540c1
mov r12d, 1
mov dword [rsp + 0x30], edx
lea rax, [0x1801ad2b8]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
test r12d, r12d
jne 0x1800540eb
test edx, edx
jne 0x1800546b1
jmp 0x1800540f1
cmp r12d, 1
jne 0x180054163
mov rcx, r14
call fcn.180054900
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x180054139
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x180054134
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180054663
mov rcx, r8
call fcn.1800ffa38
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 0x180054170
mov rbx, qword [r14]
lea rax, [0x180145240]
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 [0x1801d3d00]
mov qword [rsp + 0xf4], rax
mov qword [rsp + 0xe8], rsi
mov r8d, 1
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.180030d60
test rax, rax
jne 0x18005426c
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 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.180059160
nop
lea r8, [r14 + 0x40]
mov rcx, rax
call fcn.180055af0
nop
lea rcx, [rsp + 0x228]
call fcn.180054f30
mov rcx, qword [rsp + 0x218]
test rcx, rcx
je 0x18005430b
mov rax, qword [rcx]
lea rdx, [rsp + 0x1e0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
cmp qword [rsp + 0x100], 0
je 0x1800544cc
mov rax, qword [rsp + 0x98]
lea rcx, [rsp + 0xf0]
cmp qword [rax], rcx
jne 0x180054359
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 0x180054403
cmp byte [rsp + 0xf1], 0
je 0x180054403
mov rax, qword [rsp + 0x80]
mov r8, qword [rax + 0x18]
lea rax, [fcn.180032030]
mov edx, 0xffffffff
lea rcx, [rsp + 0x80]
cmp r8, rax
jne 0x1800543a2
call fcn.180032030
jmp 0x1800543a5
call r8
cmp eax, 0xffffffff
jne 0x1800543ae
xor bl, bl
jmp 0x180054405
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 0x180054475
sub eax, 1
je 0x18005447d
cmp eax, 2
je 0x1800543fb
xor bl, bl
jmp 0x180054405
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 [0x1801d3d00]
mov qword [rsp + 0xf4], rax
mov qword [rsp + 0xe8], rsi
test rbx, rbx
jne 0x180054528
jmp 0x180054509
mov byte [rsp + 0xf1], 0
lea rax, [rsp + 0x1c0]
mov rbx, qword [rsp + 0x440]
sub rbx, rax
je 0x1800544bc
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 0x1800544bc
xor bl, bl
jmp 0x180054405
cmp byte [rsp + 0xf1], 0
sete bl
jmp 0x180054405
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 [0x1801d3d00]
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
lea edx, [r8 + 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 0x180054549
mov rdx, qword [rbx]
mov rcx, r14
call fcn.180054780
add rbx, 8
cmp rbx, r15
jne 0x180054535
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.1800fc4e0
nop
lea rcx, [rax + 0x28]
lea rdx, str.Initial_Settings_Load_Completed
call fcn.180019d70
nop
lea rcx, [rsp + 0x2c8]
call fcn.1800fca80
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 0x18005461c
mov rax, qword [rsp + 0x98]
lea rcx, [rsp + 0xf0]
cmp qword [rax], rcx
jne 0x18005461c
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 0x180054633
lea rcx, [rsp + 0x80]
call fcn.1800322d0
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 0x1800540fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x70]
call fcn.1800546c0
nop
mov rbx, qword [rsp + 0x438]
mov r8, qword [rbx + 0x18]
cmp r8, 7
jbe 0x18005468f
mov rdx, qword [rbx]
call fcn.180024b60
xor esi, esi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
jmp 0x180054148
call fcn.18001cfe0
int3
call fcn.18001ca90
int3
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.1800249a0
int3