Function at 0x140003200
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x4c0
mov rax, qword [0x140039040]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
movzx r15d, cl
xor r12d, r12d
mov esi, r12d
mov dword [rsp + 0x30], r12d
lea rcx, [rsp + 0x250]
call fcn.140002e40
nop
lea r8d, [r12 + 0xe]
lea rdx, str.Carbon.config
mov rcx, rax
call fcn.1400078e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x230], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x240], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x230], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x240], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
or esi, 1
mov rdx, qword [rsp + 0x268]
cmp rdx, 0xf
jbe 0x1400032ea
inc rdx
mov rcx, qword [rsp + 0x250]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400032e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013080
movdqa xmm0, xmmword [0x140034360]
movdqu xmmword [rsp + 0x260], xmm0
mov byte [rsp + 0x250], 0
lea r14, [rsp + 0x230]
cmp qword [rsp + 0x248], 0xf
cmova r14, qword [rsp + 0x230]
xor eax, eax
mov qword [rsp + 0x88], rax
mov byte [rsp + 0x80], 3
xorps xmm0, xmm0
movups xmmword [rsp + 0x200], xmm0
lea ecx, [rax + 0x20]
call fcn.140012b80
mov rbx, rax
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x200], rax
mov qword [rsp + 0x208], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov r8d, 4
lea rdx, str.name
mov rcx, rbx
call fcn.14000b270
nop
mov qword [rsp + 0x88], rbx
lea rax, [rsp + 0x80]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x98], 1
xor eax, eax
mov qword [rsp + 0xa8], rax
mov byte [rsp + 0xa0], 3
xorps xmm0, xmm0
movups xmmword [rsp + 0x200], xmm0
lea ecx, [rax + 0x20]
call fcn.140012b80
mov rbx, rax
lea rax, [rsp + 0x1f1]
mov qword [rsp + 0x200], rax
mov qword [rsp + 0x208], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
lea rax, str.CarbonUser
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140003400
mov rdx, rax
mov rcx, rbx
call fcn.14000b270
nop
mov qword [rsp + 0xa8], rbx
lea rax, [rsp + 0xa0]
mov qword [rsp + 0xb0], rax
mov byte [rsp + 0xb8], 1
lea rax, [rsp + 0x80]
mov qword [rsp + 0x200], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x208], rax
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0xc0]
call fcn.140005760
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xd0], rax
mov byte [rsp + 0xd8], 1
xor eax, eax
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], 3
xorps xmm0, xmm0
movups xmmword [rsp + 0x200], xmm0
lea ecx, [rax + 0x20]
call fcn.140012b80
mov rbx, rax
lea rax, [rsp + 0x1f1]
mov qword [rsp + 0x200], rax
mov qword [rsp + 0x208], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov r8d, 4
lea rdx, str.path
mov rcx, rbx
call fcn.14000b270
nop
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x58], 1
xor eax, eax
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x60], 3
xorps xmm0, xmm0
movups xmmword [rsp + 0x200], xmm0
lea ecx, [rax + 0x20]
call fcn.140012b80
mov rbx, rax
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x200], rax
mov qword [rsp + 0x208], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
lea r13, [0x140039cc0]
inc rdi
cmp byte [rdi + r13], 0
jne 0x140003544
mov r8, rdi
mov rdx, r13
mov rcx, rbx
call fcn.14000b270
nop
mov qword [rsp + 0x68], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x78], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x200], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x208], rax
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0xe0]
call fcn.140005760
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xf0], rax
mov byte [rsp + 0xf8], 1
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x200], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x208], rax
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x220]
call fcn.140005760
nop
lea r9, [fcn.140003e50]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0xc0]
call fcn.140012d68
nop
lea r9, [fcn.140003e50]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0x40]
call fcn.140012d68
nop
lea r9, [fcn.140003e50]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0x80]
call fcn.140012d68
test r15b, r15b
je 0x1400038f4
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x290]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140033c28]
mov qword [rsp + 0x290], rax
lea rcx, [rsp + 0x338]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or esi, 2
mov dword [rsp + 0x30], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x298]
lea rcx, [rsp + 0x290]
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 + 0x290]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x290], rdi
mov rax, qword [rsp + 0x290]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x28c], edx
lea rcx, [rsp + 0x298]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rbx, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x298], rbx
mov byte [rsp + 0x314], 0
mov byte [rsp + 0x309], 0
lea rcx, [rsp + 0x298]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rsp + 0x318], r12
mov rax, qword [0x140039cb0]
mov qword [rsp + 0x30c], rax
mov qword [rsp + 0x300], r12
mov r8d, 2
mov rdx, r14
lea rcx, [rsp + 0x298]
call fcn.140006fc0
test rax, rax
jne 0x140003775
mov rax, qword [rsp + 0x290]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x290]
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
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x290]
call fcn.140005170
lea rcx, [rsp + 0x298]
call fcn.140006f00
test rax, rax
jne 0x1400037c0
mov rax, qword [rsp + 0x290]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x290]
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]
lea rcx, str.____Saved_config_file___n
call fcn.140001030
nop
mov rax, qword [rsp + 0x290]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x290], rdi
mov rax, qword [rsp + 0x290]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x28c], edx
mov qword [rsp + 0x298], rbx
cmp qword [rsp + 0x318], 0
je 0x14000384c
mov rax, qword [rsp + 0x2b0]
lea rcx, [rsp + 0x308]
cmp qword [rax], rcx
jne 0x14000384c
mov rdx, qword [rsp + 0x328]
mov rcx, qword [rsp + 0x320]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2d0]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rsp + 0x2e8]
mov dword [rax], edx
cmp byte [rsp + 0x314], 0
je 0x140003863
lea rcx, [rsp + 0x298]
call fcn.140006f00
lea rcx, [rsp + 0x298]
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 + 0x2a0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x338]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
movzx edx, byte [rsp + 0x220]
lea rcx, [rsp + 0x228]
call fcn.140007100
nop
mov rdx, qword [rsp + 0x248]
cmp rdx, 0xf
jbe 0x140003e1c
inc rdx
mov rcx, qword [rsp + 0x230]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400038ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400038ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013080
jmp 0x140003e1c
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x3a0]
call sub.VCRUNTIME140.dll_memset
mov r8d, 1
mov rdx, r14
lea rcx, [rsp + 0x3a0]
call fcn.140005060
nop
mov qword [rsp + 0x288], r12
lea rax, [rsp + 0x3a0]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x3a0]
movsxd rcx, dword [rax + 4]
mov rax, qword [rsp + rcx + 0x3e8]
mov qword [rsp + 0x208], rax
lea r8, [rsp + 0x250]
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x100]
call fcn.14000af00
nop
lea r8, [rsp + 0x220]
mov rcx, rax
call fcn.140006c20
nop
lea rcx, [rsp + 0x148]
call fcn.140005e10
mov rcx, qword [rsp + 0x138]
test rcx, rcx
je 0x1400039b1
mov rax, qword [rcx]
lea rdx, [rsp + 0x100]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
lea rcx, [rsp + 0x3b0]
call fcn.140006f00
test rax, rax
jne 0x1400039e7
mov rax, qword [rsp + 0x3a0]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x3a0]
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]
lea rcx, str.____Loaded_config_file___n
call fcn.140001030
nop
mov rax, qword [rsp + 0x3a0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x3a0], rax
mov rax, qword [rsp + 0x3a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x39c], edx
lea rbx, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x3b0], rbx
cmp qword [rsp + 0x430], 0
je 0x140003a81
mov rax, qword [rsp + 0x3c8]
lea rcx, [rsp + 0x420]
cmp qword [rax], rcx
jne 0x140003a81
mov rdx, qword [rsp + 0x440]
mov rcx, qword [rsp + 0x438]
mov qword [rax], rcx
mov rax, qword [rsp + 0x3e8]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rsp + 0x400]
mov dword [rax], edx
cmp byte [rsp + 0x42c], 0
je 0x140003a98
lea rcx, [rsp + 0x3b0]
call fcn.140006f00
lea rcx, [rsp + 0x3b0]
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 + 0x3b8]
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 + 0x450]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rdx, str.name
lea rcx, [rsp + 0x220]
call fcn.14000abd0
lea rdx, [rsp + 0x200]
mov rcx, rax
call fcn.14000ad10
nop
lea rdx, str.path
lea rcx, [rsp + 0x220]
call fcn.14000abd0
lea rdx, [rsp + 0x250]
mov rcx, rax
call fcn.14000ad10
cmp qword [rsp + 0x210], 0x21
jbe 0x140003c69
lea rcx, str.__x__Name_in_config_file_is_too_long_n
call fcn.140001030
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x268]
cmp rdx, 0xf
jbe 0x140003b78
inc rdx
mov rcx, qword [rsp + 0x250]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003cf9
call fcn.140013080
movdqa xmm0, xmmword [0x140034360]
movdqu xmmword [rsp + 0x260], xmm0
mov byte [rsp + 0x250], 0
mov rdx, qword [rsp + 0x218]
cmp rdx, 0xf
jbe 0x140003bd4
inc rdx
mov rcx, qword [rsp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bcf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003d58
call fcn.140013080
mov qword [rsp + 0x210], r12
mov qword [rsp + 0x218], 0xf
mov byte [rsp + 0x200], 0
movzx edx, byte [rsp + 0x220]
lea rcx, [rsp + 0x228]
call fcn.140007100
nop
mov rdx, qword [rsp + 0x248]
cmp rdx, 0xf
jbe 0x140003c49
inc rdx
mov rcx, qword [rsp + 0x230]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003dd0
call fcn.140013080
movdqa xmm0, xmmword [0x140034360]
movdqu xmmword [rsp + 0x240], xmm0
mov byte [rsp + 0x230], 0
xor al, al
jmp 0x140003e1e
lea rdx, [rsp + 0x200]
cmp qword [rsp + 0x218], 0xf
cmova rdx, qword [rsp + 0x200]
mov r8d, 0x21
lea rcx, str.CarbonUser
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea rdx, [rsp + 0x250]
cmp qword [rsp + 0x268], 0xf
cmova rdx, qword [rsp + 0x250]
mov r8d, 0xf0
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov rdx, qword [rsp + 0x268]
cmp rdx, 0xf
jbe 0x140003d05
inc rdx
mov rcx, qword [rsp + 0x250]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013080
movdqa xmm0, xmmword [0x140034360]
movdqu xmmword [rsp + 0x260], xmm0
mov byte [rsp + 0x250], 0
mov rdx, qword [rsp + 0x218]
cmp rdx, 0xf
jbe 0x140003d64
inc rdx
mov rcx, qword [rsp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013080
mov qword [rsp + 0x210], r12
mov qword [rsp + 0x218], 0xf
mov byte [rsp + 0x200], 0
movzx edx, byte [rsp + 0x220]
lea rcx, [rsp + 0x228]
call fcn.140007100
nop
mov rdx, qword [rsp + 0x248]
cmp rdx, 0xf
jbe 0x140003ddc
inc rdx
mov rcx, qword [rsp + 0x230]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003dd7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003dd7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013080
movdqa xmm0, xmmword [0x140034360]
movdqu xmmword [rsp + 0x240], xmm0
mov byte [rsp + 0x230], 0
mov al, 1
jmp 0x140003e1e
xor al, al
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140012b60
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret