Function at 0x140004b80
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 [0x140024040]
xor rax, rsp
mov qword [rsp + 0x390], rax
movzx r14d, cl
xor r15d, r15d
lea rcx, [rsp + 0x240]
call fcn.1400031c0
nop
lea r8d, [r15 + 0xe]
lea rdx, str.Carbon.config
mov rcx, rax
call fcn.140009da0
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 0x140004c5e
inc rdx
mov rcx, qword [rsp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004c59
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018a48
movdqa xmm0, xmmword [0x14001e310]
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.1400186f4
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.14000db30
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.1400186f4
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 0x140004d70
mov rdx, r13
mov rcx, rbx
call fcn.14000db30
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.140007b40
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.1400186f4
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.14000db30
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.1400186f4
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, [0x14005b7a0]
inc rdi
cmp byte [r12 + rdi], 0
jne 0x140004eb1
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call fcn.14000db30
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.140007b40
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.140007b40
nop
lea r9, [fcn.140004b00]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0xb0]
call fcn.140018730
nop
lea r9, [fcn.140004b00]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0x30]
call fcn.140018730
nop
lea r9, [fcn.140004b00]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0x70]
call fcn.140018730
test r14b, r14b
je 0x1400050f8
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x280]
call sub.VCRUNTIME140.dll_memset
mov rdx, rsi
lea rcx, [rsp + 0x280]
call fcn.140006070
nop
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x280]
call fcn.140007550
lea rcx, [rsp + 0x288]
call fcn.1400093c0
test rax, rax
jne 0x140005028
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.1400011a0
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 dword [rsp + rcx + 0x27c], edx
lea rcx, [rsp + 0x288]
call fcn.140006d70
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]
nop
movzx edx, byte [rsp + 0x210]
lea rcx, [rsp + 0x218]
call fcn.1400095c0
nop
mov rdx, qword [rsp + 0x238]
cmp rdx, 0xf
jbe 0x1400055aa
inc rdx
mov rcx, qword [rsp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400050ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400050ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018a48
jmp 0x1400055aa
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.140006de0
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.14000d7c0
nop
lea r8, [rsp + 0x210]
mov rcx, rax
call fcn.1400090e0
nop
lea rcx, [rsp + 0x138]
call fcn.1400082d0
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x1400051b5
mov rax, qword [rcx]
lea rdx, [rsp + 0xf0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
lea rcx, [rsp + 0x290]
call fcn.1400093c0
test rax, rax
jne 0x1400051eb
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.1400011a0
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.140006d70
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.14000d150
lea rdx, [rsp + 0x1f0]
mov rcx, rax
call fcn.14000d290
nop
lea rdx, str.path
lea rcx, [rsp + 0x210]
call fcn.14000d150
lea rdx, [rsp + 0x240]
mov rcx, rax
call fcn.14000d290
cmp qword [rsp + 0x200], 0x21
jbe 0x1400053fb
lea rcx, str.__x__Name_in_config_file_is_too_long_n
call fcn.1400011a0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x258]
cmp rdx, 0xf
jbe 0x14000530a
inc rdx
mov rcx, qword [rsp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005305
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005487
call fcn.140018a48
movdqa xmm0, xmmword [0x14001e310]
movdqu xmmword [rsp + 0x250], xmm0
mov byte [rsp + 0x240], 0
mov rdx, qword [rsp + 0x208]
cmp rdx, 0xf
jbe 0x140005366
inc rdx
mov rcx, qword [rsp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005361
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400054e6
call fcn.140018a48
mov qword [rsp + 0x200], r15
mov qword [rsp + 0x208], 0xf
mov byte [rsp + 0x1f0], 0
movzx edx, byte [rsp + 0x210]
lea rcx, [rsp + 0x218]
call fcn.1400095c0
nop
mov rdx, qword [rsp + 0x238]
cmp rdx, 0xf
jbe 0x1400053db
inc rdx
mov rcx, qword [rsp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400053d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000555e
call fcn.140018a48
movdqa xmm0, xmmword [0x14001e310]
movdqu xmmword [rsp + 0x230], xmm0
mov byte [rsp + 0x220], 0
xor al, al
jmp 0x1400055ac
lea rdx, [rsp + 0x1f0]
cmp qword [rsp + 0x208], 0xf
cmova rdx, qword [rsp + 0x1f0]
mov r8d, 0x21
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea rdx, [rsp + 0x240]
cmp qword [rsp + 0x258], 0xf
cmova rdx, qword [rsp + 0x240]
mov r8d, 0xf0
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov rdx, qword [rsp + 0x258]
cmp rdx, 0xf
jbe 0x140005493
inc rdx
mov rcx, qword [rsp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000548e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000548e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018a48
movdqa xmm0, xmmword [0x14001e310]
movdqu xmmword [rsp + 0x250], xmm0
mov byte [rsp + 0x240], 0
mov rdx, qword [rsp + 0x208]
cmp rdx, 0xf
jbe 0x1400054f2
inc rdx
mov rcx, qword [rsp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400054ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400054ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018a48
mov qword [rsp + 0x200], r15
mov qword [rsp + 0x208], 0xf
mov byte [rsp + 0x1f0], 0
movzx edx, byte [rsp + 0x210]
lea rcx, [rsp + 0x218]
call fcn.1400095c0
nop
mov rdx, qword [rsp + 0x238]
cmp rdx, 0xf
jbe 0x14000556a
inc rdx
mov rcx, qword [rsp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005565
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005565
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018a48
movdqa xmm0, xmmword [0x14001e310]
movdqu xmmword [rsp + 0x230], xmm0
mov byte [rsp + 0x220], 0
mov al, 1
jmp 0x1400055ac
xor al, al
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.1400185f0
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