Function at 0x140004d60
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, 0x3a0
mov rax, qword [0x14002c040]
xor rax, rsp
mov qword [rsp + 0x390], rax
movzx r14d, cl
xor r15d, r15d
lea rcx, [rsp + 0x240]
call fcn.140003800
nop
lea r8d, [r15 + 0xe]
lea rdx, str.Carbon.config
mov rcx, rax
call fcn.14000ac80
xorps xmm0, xmm0
movups xmmword [rsp + 0x220], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x230], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x220], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x230], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
mov rdx, qword [rsp + 0x258]
cmp rdx, 0xf
jbe 0x140004e3e
inc rdx
mov rcx, qword [rsp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004e39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f638
movdqa xmm0, xmmword [0x140025f70]
movdqu xmmword [rsp + 0x250], xmm0
mov byte [rsp + 0x240], 0
lea rsi, [rsp + 0x220]
cmp qword [rsp + 0x238], 0xf
cmova rsi, qword [rsp + 0x220]
xor eax, eax
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x70], 3
xorps xmm0, xmm0
movups xmmword [rsp + 0x1f0], xmm0
lea ecx, [rax + 0x20]
call fcn.14001f2e4
mov rbx, rax
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0x1f8], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov r8d, 4
lea rdx, str.name
mov rcx, rbx
call fcn.14000ea40
nop
mov qword [rsp + 0x78], rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov byte [rsp + 0x88], 1
xor eax, eax
mov qword [rsp + 0x98], rax
mov byte [rsp + 0x90], 3
xorps xmm0, xmm0
movups xmmword [rsp + 0x1f0], xmm0
lea ecx, [rax + 0x20]
call fcn.14001f2e4
mov rbx, rax
lea rax, [rsp + 0x1e1]
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0x1f8], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
lea r13, str.CarbonUser
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [r8 + r13], 0
jne 0x140004f50
mov rdx, r13
mov rcx, rbx
call fcn.14000ea40
nop
mov qword [rsp + 0x98], rbx
lea rax, [rsp + 0x90]
mov qword [rsp + 0xa0], rax
mov byte [rsp + 0xa8], 1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x1f0], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x1f8], rax
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0xb0]
call fcn.140008390
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xc0], rax
mov byte [rsp + 0xc8], 1
xor eax, eax
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], 3
xorps xmm0, xmm0
movups xmmword [rsp + 0x1f0], xmm0
lea ecx, [rax + 0x20]
call fcn.14001f2e4
mov rbx, rax
lea rax, [rsp + 0x1e1]
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0x1f8], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov r8d, 4
lea rdx, str.path
mov rcx, rbx
call fcn.14000ea40
nop
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x48], 1
xor eax, eax
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x50], 3
xorps xmm0, xmm0
movups xmmword [rsp + 0x1f0], xmm0
lea ecx, [rax + 0x20]
call fcn.14001f2e4
mov rbx, rax
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0x1f8], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
lea r12, [0x14002e1c0]
inc rdi
cmp byte [r12 + rdi], 0
jne 0x140005091
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call fcn.14000ea40
nop
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x68], 1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x1f0], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x1f8], rax
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0xd0]
call fcn.140008390
lea rax, [rsp + 0xd0]
mov qword [rsp + 0xe0], rax
mov byte [rsp + 0xe8], 1
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x1f0], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x1f8], rax
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x210]
call fcn.140008390
nop
lea r9, [fcn.1400044d0]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0xb0]
call fcn.14001f320
nop
lea r9, [fcn.1400044d0]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0x30]
call fcn.14001f320
nop
lea r9, [fcn.1400044d0]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0x70]
call fcn.14001f320
test r14b, r14b
je 0x14000527a
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x280]
call sub.VCRUNTIME140.dll_memset
mov rdx, rsi
lea rcx, [rsp + 0x280]
call fcn.140006790
nop
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x280]
call fcn.140007c70
lea rcx, [rsp + 0x288]
call fcn.14000a2a0
test rax, rax
jne 0x140005208
mov rax, qword [rsp + 0x280]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x280]
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.1400011b0
nop
mov rax, qword [rsp + 0x280]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x280], rax
mov rax, qword [rsp + 0x280]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov rax, rcx
mov dword [rsp + rcx + 0x27c], edx
lea rcx, [rsp + 0x288]
call fcn.140007490
lea rcx, [rsp + 0x290]
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 + 0x328]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x140005678
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x280]
call sub.VCRUNTIME140.dll_memset
mov r8d, 1
mov rdx, rsi
lea rcx, [rsp + 0x280]
call fcn.140007500
nop
mov qword [rsp + 0x278], r15
lea rax, [rsp + 0x280]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x280]
movsxd rcx, dword [rax + 4]
mov rax, qword [rsp + rcx + 0x2c8]
mov qword [rsp + 0x1f8], rax
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0xf0]
call fcn.14000e6d0
nop
lea r8, [rsp + 0x210]
mov rcx, rax
call fcn.140009a70
nop
lea rcx, [rsp + 0x138]
call fcn.140008c60
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x140005337
mov rax, qword [rcx]
lea rdx, [rsp + 0xf0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
lea rcx, [rsp + 0x290]
call fcn.14000a2a0
test rax, rax
jne 0x14000536d
mov rax, qword [rsp + 0x280]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x280]
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.1400011b0
nop
mov rax, qword [rsp + 0x280]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x280], rax
mov rax, qword [rsp + 0x280]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x27c], edx
lea rcx, [rsp + 0x290]
call fcn.140007490
lea rcx, [rsp + 0x298]
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 + 0x330]
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 + 0x210]
call fcn.14000e040
lea rdx, [rsp + 0x240]
mov rcx, rax
call fcn.14000e180
nop
lea rdx, str.path
lea rcx, [rsp + 0x210]
call fcn.14000e040
lea rdx, [rsp + 0x1f0]
mov rcx, rax
call fcn.14000e180
cmp qword [rsp + 0x250], 0x21
jbe 0x140005580
lea rcx, str._x__Name_in_config_file_is_too_long_n
call fcn.1400011b0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x208]
cmp rdx, 0xf
jbe 0x14000548c
inc rdx
mov rcx, qword [rsp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005487
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000560c
call fcn.14001f638
movdqa xmm0, xmmword [0x140025f70]
movdqu xmmword [rsp + 0x200], xmm0
mov byte [rsp + 0x1f0], 0
mov rdx, qword [rsp + 0x258]
cmp rdx, 0xf
jbe 0x1400054e8
inc rdx
mov rcx, qword [rsp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400054e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000566b
call fcn.14001f638
mov qword [rsp + 0x250], r15
mov qword [rsp + 0x258], 0xf
mov byte [rsp + 0x240], 0
movzx edx, byte [rsp + 0x210]
lea rcx, [rsp + 0x218]
call fcn.14000a4a0
nop
mov rdx, qword [rsp + 0x238]
cmp rdx, 0xf
jbe 0x140005560
inc rdx
mov rcx, qword [rsp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000555b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000555b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f638
movdqa xmm0, xmmword [0x140025f70]
movdqu xmmword [rsp + 0x230], xmm0
mov byte [rsp + 0x220], 0
xor al, al
jmp 0x1400056fb
lea rdx, [rsp + 0x240]
cmp qword [rsp + 0x258], 0xf
cmova rdx, qword [rsp + 0x240]
mov r8d, 0x21
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea rdx, [rsp + 0x1f0]
cmp qword [rsp + 0x208], 0xf
cmova rdx, qword [rsp + 0x1f0]
mov r8d, 0xf0
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov rdx, qword [rsp + 0x208]
cmp rdx, 0xf
jbe 0x140005618
inc rdx
mov rcx, qword [rsp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005613
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005613
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f638
movdqa xmm0, xmmword [0x140025f70]
movdqu xmmword [rsp + 0x200], xmm0
mov byte [rsp + 0x1f0], 0
mov rdx, qword [rsp + 0x258]
cmp rdx, 0xf
jbe 0x140005678
inc rdx
mov rcx, qword [rsp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005672
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005672
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f638
nop
movzx edx, byte [rsp + 0x210]
lea rcx, [rsp + 0x218]
call fcn.14000a4a0
nop
mov rdx, qword [rsp + 0x238]
cmp rdx, 0xf
jbe 0x1400056fb
inc rdx
mov rcx, qword [rsp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400056cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400056cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f638
jmp 0x1400056fb
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.14001f1e0
lea r11, [rsp + 0x3a0]
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