Function at 0x140008f50
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 [0x140033040]
xor rax, rsp
mov qword [rsp + 0x390], rax
movzx r14d, cl
xor r15d, r15d
lea rcx, [rsp + 0x240]
call fcn.140005310
nop
lea r8d, [r15 + 0xe]
lea rdx, str.Carbon.config
mov rcx, rax
call fcn.14000ebb0
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 0x14000902e
inc rdx
mov rcx, qword [rsp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009029
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009029
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400245d0
movdqa xmm0, xmmword [0x14002b7f0]
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.140024958
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.140013030
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.140024958
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 0x140009140
mov rdx, r13
mov rcx, rbx
call fcn.140013030
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.14000c410
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.140024958
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.140013030
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.140024958
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, [0x14006ac10]
inc rdi
cmp byte [r12 + rdi], 0
jne 0x140009281
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call fcn.140013030
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.14000c410
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.14000c410
nop
lea r9, [fcn.140008e80]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0xb0]
call fcn.140024994
nop
lea r9, [fcn.140008e80]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0x30]
call fcn.140024994
nop
lea r9, [fcn.140008e80]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0x70]
call fcn.140024994
test r14b, r14b
je 0x140009478
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.14000aec0
nop
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x280]
call fcn.14000bd50
lea rcx, [rsp + 0x288]
call fcn.14000e180
test rax, rax
jne 0x1400093f8
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.140008e90
nop
movzx edx, byte [rsp + 0x210]
lea rcx, [rsp + 0x218]
call fcn.14000e380
nop
mov rdx, qword [rsp + 0x238]
cmp rdx, 0xf
jbe 0x14000992a
inc rdx
mov rcx, qword [rsp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000946e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000946e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400245d0
jmp 0x14000992a
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.14000bc30
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.140012670
nop
lea r8, [rsp + 0x210]
mov rcx, rax
call fcn.14000d950
nop
lea rcx, [rsp + 0x138]
call fcn.14000cb80
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x140009535
mov rax, qword [rcx]
lea rdx, [rsp + 0xf0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
lea rcx, [rsp + 0x290]
call fcn.14000e180
test rax, rax
jne 0x14000956b
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.14000bbc0
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.140012340
lea rdx, [rsp + 0x1f0]
mov rcx, rax
call fcn.140012480
nop
lea rdx, str.path
lea rcx, [rsp + 0x210]
call fcn.140012340
lea rdx, [rsp + 0x240]
mov rcx, rax
call fcn.140012480
cmp qword [rsp + 0x200], 0x21
jbe 0x14000977b
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 0x14000968a
inc rdx
mov rcx, qword [rsp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009685
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009807
call fcn.1400245d0
movdqa xmm0, xmmword [0x14002b7f0]
movdqu xmmword [rsp + 0x250], xmm0
mov byte [rsp + 0x240], 0
mov rdx, qword [rsp + 0x208]
cmp rdx, 0xf
jbe 0x1400096e6
inc rdx
mov rcx, qword [rsp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400096e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009866
call fcn.1400245d0
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.14000e380
nop
mov rdx, qword [rsp + 0x238]
cmp rdx, 0xf
jbe 0x14000975b
inc rdx
mov rcx, qword [rsp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009756
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400098de
call fcn.1400245d0
movdqa xmm0, xmmword [0x14002b7f0]
movdqu xmmword [rsp + 0x230], xmm0
mov byte [rsp + 0x220], 0
xor al, al
jmp 0x14000992c
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 0x140009813
inc rdx
mov rcx, qword [rsp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000980e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000980e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400245d0
movdqa xmm0, xmmword [0x14002b7f0]
movdqu xmmword [rsp + 0x250], xmm0
mov byte [rsp + 0x240], 0
mov rdx, qword [rsp + 0x208]
cmp rdx, 0xf
jbe 0x140009872
inc rdx
mov rcx, qword [rsp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000986d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000986d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400245d0
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.14000e380
nop
mov rdx, qword [rsp + 0x238]
cmp rdx, 0xf
jbe 0x1400098ea
inc rdx
mov rcx, qword [rsp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400098e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400098e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400245d0
movdqa xmm0, xmmword [0x14002b7f0]
movdqu xmmword [rsp + 0x230], xmm0
mov byte [rsp + 0x220], 0
mov al, 1
jmp 0x14000992c
xor al, al
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.1400245b0
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