Function at 0x1400433b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov dword [rbp + 0xc0], esi
lea rax, [0x14012c150]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rbp + 0xc0], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_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 + 0x30]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x30], r15
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x38], rax
mov byte [rbp - 0x4c], sil
mov byte [rbp - 0x57], sil
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x48], rsi
mov rax, qword [0x140651a30]
mov qword [rbp - 0x54], rax
mov qword [rbp - 0x60], rsi
mov r9d, 0x40
mov r8d, 2
lea rdx, str.C:WindowsLOGINUsername.ini
lea rcx, [rsp + 0x38]
call fcn.140044db0
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
je 0x1400434b3
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x1400434c1
add rcx, rax
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]
lea r14, [fcn.140044ef0]
cmp qword [rbp - 0x48], 0
je 0x140043668
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x1400434e1
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14003fd40
lea rcx, [rsp + 0x38]
cmp qword [rbp - 0x48], 0
je 0x140043626
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rbp - 0x58]
cmp rax, rcx
jne 0x140043523
mov r9, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x40]
mov r8, rdx
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
cmp qword [rbp - 0x60], 0
je 0x140043593
cmp byte [rbp - 0x57], 0
je 0x140043593
mov rax, qword [rsp + 0x38]
mov r8, qword [rax + 0x18]
mov edx, 0xffffffff
lea rcx, [rsp + 0x38]
cmp r8, r14
jne 0x14004354f
call fcn.140044ef0
jmp 0x140043552
call r8
cmp eax, 0xffffffff
jne 0x14004355b
xor bl, bl
jmp 0x140043595
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x60]
lea r8, [rbp + 0x40]
lea rdx, [rbp - 0x54]
mov rcx, qword [rbp - 0x60]
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 0x1400435e4
sub eax, 1
je 0x1400435e8
cmp eax, 2
je 0x14004358f
xor bl, bl
jmp 0x140043595
mov byte [rbp - 0x57], 0
mov bl, 1
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rcx, [rsp + 0x38]
test bl, bl
cmove rcx, rsi
mov rbx, rsi
test eax, eax
cmove rbx, rcx
mov byte [rbp - 0x4c], 0
mov byte [rbp - 0x57], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x48], rsi
mov rax, qword [0x140651a30]
mov qword [rbp - 0x54], rax
mov qword [rbp - 0x60], rsi
test rbx, rbx
jne 0x14004368b
jmp 0x140043647
mov byte [rbp - 0x57], 0
lea rax, [rbp + 0x40]
mov rbx, qword [rbp + 0xc0]
sub rbx, rax
je 0x14004361a
mov r9, qword [rbp - 0x48]
mov r8, rbx
mov edx, 1
lea rcx, [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
je 0x14004361a
xor bl, bl
jmp 0x140043595
cmp byte [rbp - 0x57], 0
sete bl
jmp 0x140043595
mov byte [rbp - 0x4c], 0
mov byte [rbp - 0x57], 0
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x48], rsi
mov rax, qword [0x140651a30]
mov qword [rbp - 0x54], rax
mov qword [rbp - 0x60], rsi
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
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]
jmp 0x14004368b
lea rdx, str.Error_opening_Username.ini_for_writing.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14003f430
lea rdx, [0x1400408f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r9d, 0x40
mov r8d, 2
lea rdx, str.C:WindowsLOGINPassword.ini
lea rcx, [rsp + 0x38]
call fcn.140044db0
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
je 0x1400436cb
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x1400436d9
add rcx, rax
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]
cmp qword [rbp - 0x48], 0
je 0x14004387c
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x1400436f2
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14003fd40
lea rcx, [rsp + 0x38]
cmp qword [rbp - 0x48], 0
je 0x14004383a
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rbp - 0x58]
cmp rax, rcx
jne 0x140043734
mov r9, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x40]
mov r8, rdx
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
cmp qword [rbp - 0x60], 0
je 0x1400437a7
cmp byte [rbp - 0x57], 0
je 0x1400437a7
mov rax, qword [rsp + 0x38]
mov r8, qword [rax + 0x18]
mov edx, 0xffffffff
lea rcx, [rsp + 0x38]
cmp r8, r14
jne 0x140043760
call fcn.140044ef0
jmp 0x140043763
call r8
cmp eax, 0xffffffff
jne 0x14004376c
xor bl, bl
jmp 0x1400437a9
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x80]
lea r8, [rbp + 0x60]
lea rdx, [rbp - 0x54]
mov rcx, qword [rbp - 0x60]
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 0x1400437f8
sub eax, 1
je 0x1400437fc
cmp eax, 2
je 0x1400437a3
xor bl, bl
jmp 0x1400437a9
mov byte [rbp - 0x57], 0
mov bl, 1
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rcx, [rsp + 0x38]
test bl, bl
cmove rcx, rsi
mov rbx, rsi
test eax, eax
cmove rbx, rcx
mov byte [rbp - 0x4c], 0
mov byte [rbp - 0x57], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x48], rsi
mov rax, qword [0x140651a30]
mov qword [rbp - 0x54], rax
mov qword [rbp - 0x60], rsi
test rbx, rbx
jne 0x1400438a0
jmp 0x14004385b
mov byte [rbp - 0x57], 0
lea rax, [rbp + 0x60]
mov rbx, qword [rbp + 0xc0]
sub rbx, rax
je 0x14004382e
mov r9, qword [rbp - 0x48]
mov r8, rbx
mov edx, 1
lea rcx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
je 0x14004382e
xor bl, bl
jmp 0x1400437a9
cmp byte [rbp - 0x57], 0
sete bl
jmp 0x1400437a9
mov byte [rbp - 0x4c], 0
mov byte [rbp - 0x57], 0
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x48], rsi
mov rax, qword [0x140651a30]
mov qword [rbp - 0x54], rax
mov qword [rbp - 0x60], rsi
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
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]
jmp 0x1400438a0
lea rdx, str.Error_opening_Password.ini_for_writing.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14003f430
lea rdx, [0x1400408f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x30], r15
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x38]
call fcn.140041950
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret