Function at 0x140008730
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, 0x4b0
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
movzx r14d, cl
xor r15d, r15d
lea rcx, [rsp + 0x240]
call fcn.140004d70
nop
lea r8d, [r15 + 0xe]
lea rdx, str.Carbon.config
mov rcx, rax
call fcn.14000bea0
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 0x14000880e
inc rdx
mov rcx, qword [rsp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008809
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008809
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001adc0
movdqa xmm0, xmmword [0x140021170]
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.14001b064
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.140012700
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.14001b064
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 0x140008920
mov rdx, r13
mov rcx, rbx
call fcn.140012700
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.14000bba0
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.14001b064
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.140012700
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.14001b064
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, [0x140028e60]
inc rdi
cmp byte [r12 + rdi], 0
jne 0x140008a61
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call fcn.140012700
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.14000bba0
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.14000bba0
nop
lea r9, [fcn.140008660]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0xb0]
call fcn.14001b0a0
nop
lea r9, [fcn.140008660]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0x30]
call fcn.14001b0a0
nop
lea r9, [fcn.140008660]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rsp + 0x70]
call fcn.14001b0a0
test r14b, r14b
je 0x140008c58
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x390]
call sub.VCRUNTIME140.dll_memset
mov rdx, rsi
lea rcx, [rsp + 0x390]
call fcn.14000a650
nop
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x390]
call fcn.14000b4e0
lea rcx, [rsp + 0x398]
call fcn.14000d990
test rax, rax
jne 0x140008bd8
mov rax, qword [rsp + 0x390]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x390]
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.140001410
nop
lea rcx, [rsp + 0x390]
call fcn.140008670
nop
movzx edx, byte [rsp + 0x210]
lea rcx, [rsp + 0x218]
call fcn.14000db90
nop
mov rdx, qword [rsp + 0x238]
cmp rdx, 0xf
jbe 0x140009176
inc rdx
mov rcx, qword [rsp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008c4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008c4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001adc0
jmp 0x140009176
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x280]
call sub.VCRUNTIME140.dll_memset
mov rdx, rsi
lea rcx, [rsp + 0x280]
call fcn.14000b3c0
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.140011d90
nop
lea r8, [rsp + 0x210]
mov rcx, rax
call fcn.14000d160
nop
lea rcx, [rsp + 0x138]
call fcn.14000c340
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x140008d0f
mov rax, qword [rcx]
lea rdx, [rsp + 0xf0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
lea rcx, [rsp + 0x290]
call fcn.14000d990
test rax, rax
jne 0x140008d45
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.140001410
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 rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x290], rax
cmp qword [rsp + 0x310], 0
je 0x140008ddf
mov rax, qword [rsp + 0x2a8]
lea rcx, [rsp + 0x300]
cmp qword [rax], rcx
jne 0x140008ddf
mov rdx, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x318]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2c8]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rsp + 0x2e0]
mov dword [rax], edx
cmp byte [rsp + 0x30c], 0
je 0x140008df6
lea rcx, [rsp + 0x290]
call fcn.14000d990
lea rcx, [rsp + 0x290]
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 + 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.140011a60
lea rdx, [rsp + 0x1f0]
mov rcx, rax
call fcn.140011ba0
nop
lea rdx, str.path
lea rcx, [rsp + 0x210]
call fcn.140011a60
lea rdx, [rsp + 0x240]
mov rcx, rax
call fcn.140011ba0
cmp qword [rsp + 0x200], 0x21
jbe 0x140008fc7
lea rcx, str.__x__Name_in_config_file_is_too_long_n
call fcn.140001410
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 0x140008ed6
inc rdx
mov rcx, qword [rsp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008ed1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009053
call fcn.14001adc0
movdqa xmm0, xmmword [0x140021170]
movdqu xmmword [rsp + 0x250], xmm0
mov byte [rsp + 0x240], 0
mov rdx, qword [rsp + 0x208]
cmp rdx, 0xf
jbe 0x140008f32
inc rdx
mov rcx, qword [rsp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008f2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400090b2
call fcn.14001adc0
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.14000db90
nop
mov rdx, qword [rsp + 0x238]
cmp rdx, 0xf
jbe 0x140008fa7
inc rdx
mov rcx, qword [rsp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008fa2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000912a
call fcn.14001adc0
movdqa xmm0, xmmword [0x140021170]
movdqu xmmword [rsp + 0x230], xmm0
mov byte [rsp + 0x220], 0
xor al, al
jmp 0x140009178
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 0x14000905f
inc rdx
mov rcx, qword [rsp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000905a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000905a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001adc0
movdqa xmm0, xmmword [0x140021170]
movdqu xmmword [rsp + 0x250], xmm0
mov byte [rsp + 0x240], 0
mov rdx, qword [rsp + 0x208]
cmp rdx, 0xf
jbe 0x1400090be
inc rdx
mov rcx, qword [rsp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400090b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400090b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001adc0
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.14000db90
nop
mov rdx, qword [rsp + 0x238]
cmp rdx, 0xf
jbe 0x140009136
inc rdx
mov rcx, qword [rsp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009131
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009131
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001adc0
movdqa xmm0, xmmword [0x140021170]
movdqu xmmword [rsp + 0x230], xmm0
mov byte [rsp + 0x220], 0
mov al, 1
jmp 0x140009178
xor al, al
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.14001ada0
lea r11, [rsp + 0x4b0]
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