Function at 0x14000a660
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 [0x140035040]
xor rax, rsp
mov qword [rsp + 0x390], rax
movzx r14d, cl
xor r15d, r15d
lea rcx, [rsp + 0x240]
call fcn.140004c40
nop
lea r8d, [r15 + 0xe]
lea rdx, str.Carbon.config
mov rcx, rax
call fcn.14000e430
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 0x14000a73e
inc rdx
mov rcx, qword [rsp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a739
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a739
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140025af0
movdqa xmm0, xmmword [0x14002d920]
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.140025e78
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.140014f00
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.140025e78
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 0x14000a850
mov rdx, r13
mov rcx, rbx
call fcn.140014f00
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.14000e1b0
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.140025e78
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.140014f00
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.140025e78
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, [0x14006cc30]
inc rdi
cmp byte [r12 + rdi], 0
jne 0x14000a991
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call fcn.140014f00
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.14000e1b0
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.14000e1b0
nop
lea r9, [fcn.14000a590]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0xb0]
call fcn.140025eb4
nop
lea r9, [fcn.14000a590]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0x30]
call fcn.140025eb4
nop
lea r9, [fcn.14000a590]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0x70]
call fcn.140025eb4
test r14b, r14b
je 0x14000ab88
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x280]
call sub.VCRUNTIME140.dll_memset
mov rdx, rsi
lea rcx, [rsp + 0x280]
call fcn.14000cc60
nop
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x280]
call fcn.14000daf0
lea rcx, [rsp + 0x288]
call fcn.14000ffc0
test rax, rax
jne 0x14000ab08
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
lea rcx, [rsp + 0x280]
call fcn.14000a5a0
nop
movzx edx, byte [rsp + 0x210]
lea rcx, [rsp + 0x218]
call fcn.1400101c0
nop
mov rdx, qword [rsp + 0x238]
cmp rdx, 0xf
jbe 0x14000b03a
inc rdx
mov rcx, qword [rsp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ab7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ab7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140025af0
jmp 0x14000b03a
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.14000d9d0
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.1400148b0
nop
lea r8, [rsp + 0x210]
mov rcx, rax
call fcn.14000f790
nop
lea rcx, [rsp + 0x138]
call fcn.14000e930
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x14000ac45
mov rax, qword [rcx]
lea rdx, [rsp + 0xf0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
lea rcx, [rsp + 0x290]
call fcn.14000ffc0
test rax, rax
jne 0x14000ac7b
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.14000d960
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.140014450
lea rdx, [rsp + 0x1f0]
mov rcx, rax
call fcn.140014590
nop
lea rdx, str.path
lea rcx, [rsp + 0x210]
call fcn.140014450
lea rdx, [rsp + 0x240]
mov rcx, rax
call fcn.140014590
cmp qword [rsp + 0x200], 0x21
jbe 0x14000ae8b
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 + 0x258]
cmp rdx, 0xf
jbe 0x14000ad9a
inc rdx
mov rcx, qword [rsp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ad95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000af17
call fcn.140025af0
movdqa xmm0, xmmword [0x14002d920]
movdqu xmmword [rsp + 0x250], xmm0
mov byte [rsp + 0x240], 0
mov rdx, qword [rsp + 0x208]
cmp rdx, 0xf
jbe 0x14000adf6
inc rdx
mov rcx, qword [rsp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000adf1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000af76
call fcn.140025af0
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.1400101c0
nop
mov rdx, qword [rsp + 0x238]
cmp rdx, 0xf
jbe 0x14000ae6b
inc rdx
mov rcx, qword [rsp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ae66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000afee
call fcn.140025af0
movdqa xmm0, xmmword [0x14002d920]
movdqu xmmword [rsp + 0x230], xmm0
mov byte [rsp + 0x220], 0
xor al, al
jmp 0x14000b03c
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 0x14000af23
inc rdx
mov rcx, qword [rsp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000af1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000af1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140025af0
movdqa xmm0, xmmword [0x14002d920]
movdqu xmmword [rsp + 0x250], xmm0
mov byte [rsp + 0x240], 0
mov rdx, qword [rsp + 0x208]
cmp rdx, 0xf
jbe 0x14000af82
inc rdx
mov rcx, qword [rsp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000af7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000af7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140025af0
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.1400101c0
nop
mov rdx, qword [rsp + 0x238]
cmp rdx, 0xf
jbe 0x14000affa
inc rdx
mov rcx, qword [rsp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000aff5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000aff5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140025af0
movdqa xmm0, xmmword [0x14002d920]
movdqu xmmword [rsp + 0x230], xmm0
mov byte [rsp + 0x220], 0
mov al, 1
jmp 0x14000b03c
xor al, al
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.140025ad0
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