Function at 0x140005d80
Capabilities:
Execute command
Manipulate console buffer

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14004f040]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov ebx, ecx
xor r13d, r13d
lea rcx, [rsp + 0x58]
call fcn.140004860
nop
lea r8d, [r13 + 0xe]
lea rdx, str.Carbon.config
mov rcx, rax
call fcn.140009ef0
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x120], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x120], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], r13b
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140005e54
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005e4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005e4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021b80
movdqa xmm0, xmmword [0x140048550]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x110]
cmp qword [rbp + 0x128], 0xf
cmova rdx, qword [rbp + 0x110]
mov r14d, 1
mov r8d, r14d
lea rcx, [rbp - 0x80]
call fcn.140007530
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], r12
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x7c], edx
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x80]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x140005fca
cmp ebx, r14d
jg 0x140005fca
lea rcx, str.____Welcome_to_Carbon_V1.7___n
call fcn.140001090
lea rcx, str._____Enter_your_username:__n
call fcn.140001090
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rsi, rax
mov dword [rsp + 0x30], 0xa0000
mov ebx, dword [rsp + 0x30]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rdx, [rbp + 0xb0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx r14d, word [rbp + 0xb8]
movzx edx, r14w
mov eax, 0xfff0
and dx, ax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edi, r13d
cmp r13w, word [rbp + 0xbe]
jge 0x140005f90
nop dword [rax]
nop dword [rax + rax]
lea rdx, [0x1400419e0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000ea70
inc edi
movsx eax, word [rbp + 0xbe]
cmp edi, eax
jl 0x140005f70
movzx edx, r14w
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rdx, str.CarbonUser
lea rcx, str._____Username:__s__n
call fcn.140001090
mov cl, 1
call fcn.140005180
mov r14d, 1
jmp 0x140005fe7
lea rcx, str.____Welcome_back_to_Carbon___n
call fcn.140001090
cmp ebx, 2
jl 0x140005fe7
lea rcx, str._____Launching_with_args_is_currently_not_supported_on_this_version._Args_will_be_ignored__n
call fcn.140001090
xor ecx, ecx
call fcn.140005180
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
movdqa xmm1, xmmword [0x140048550]
movdqu xmmword [rbp + 0xe0], xmm1
mov byte [rbp + 0xd0], 0
movups xmmword [rbp + 0xf0], xmm0
movdqu xmmword [rbp + 0x100], xmm1
mov byte [rbp + 0xf0], 0
mov dword [rbp + 0x150], r13d
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x158]
call fcn.1400080e0
nop
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x178]
call fcn.1400080e0
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0xf
jbe 0x140006099
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006093
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006093
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021b80
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0xf
jbe 0x1400060de
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400060d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400060d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021b80
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r13
mov qword [rbp + 0xa8], r13
lea rsi, [rbp + 0x158]
cmp qword [rbp + 0x170], 0xf
cmova rsi, qword [rbp + 0x158]
movabs r15, 0x7fffffffffffffff
mov rdi, qword [rbp + 0x168]
cmp rdi, r15
ja 0x1400068b8
movabs rax, 0x8000000000000000
mov ecx, 0x16
mov qword [rbp + 0xa8], 0xf
cmp rdi, 0xf
ja 0x14000615d
mov qword [rbp + 0xa0], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0x90], xmm0
jmp 0x1400061e9
mov rbx, rdi
or rbx, 0xf
cmp rbx, r15
jbe 0x140006192
mov rbx, r15
add rax, 0x27
mov rcx, rax
call fcn.140021680
mov rcx, rax
test rax, rax
je 0x1400067b6
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400061c4
cmp rbx, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400061b5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400068a6
jmp 0x140006170
test rcx, rcx
je 0x1400061c1
call fcn.140021680
jmp 0x1400061c4
mov rax, r13
mov qword [rbp + 0x90], rax
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
lea rdx, [rbp + 0x178]
lea rcx, [rbp + 0x130]
call fcn.1400080e0
nop
call fcn.140004b70
mov r13, qword [rbp + 0x148]
mov rsi, qword [rbp + 0x130]
test al, al
jne 0x14000623d
lea rcx, str._____Failed_to_start_the_game._Is_your_config_valid___n
call fcn.140001090
lea rcx, str.____Please_repair_or_delete_your_config_and_restart_Carbon.__n
call fcn.140001090
lea rcx, str._____Press_any_key_to_exit...__n
call fcn.140001090
jmp 0x140006743
mov rax, qword [0x14004f098]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140006740
lea rcx, str.____Fortnite_was_launched._n
call fcn.140001090
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rdx, qword [rbp + 0x90]
mov rcx, qword [0x14004f098]
call fcn.140020e80
test al, al
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x30], rax
mov rax, r15
je 0x1400064e8
mov r14, qword [rbp + 0x140]
sub rax, r14
cmp rax, 0xe
jb 0x1400068be
lea r12, [rbp + 0x130]
cmp r13, 0xf
cmova r12, rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
lea r15, [r14 + 0xe]
mov ebx, 0xf
lea rdi, [rbp + 0xd0]
cmp r15, rbx
jbe 0x14000636f
mov rbx, r15
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x14000632e
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140021680
test rax, rax
je 0x1400064d7
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140006368
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140006357
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400068ac
jmp 0x14000630f
test rcx, rcx
je 0x140006366
call fcn.140021680
mov rdi, rax
jmp 0x140006368
xor edi, edi
mov qword [rbp + 0xd0], rdi
mov qword [rbp + 0xe0], r15
mov qword [rbp + 0xe8], rbx
movsd xmm0, qword [str.____Injected]
movsd qword [rdi], xmm0
mov eax, dword [0x140041fb0]
mov dword [rdi + 8], eax
movzx eax, word [0x140041fb4]
mov word [rdi + 0xc], ax
lea rcx, [rdi + 0xe]
mov r8, r14
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r15], 0
mov r8d, 0xe
lea rdx, str._successfully_
lea rcx, [rbp + 0xd0]
call fcn.140009ef0
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc0], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0xf
cmova rdx, qword [rbp + 0xb0]
mov r8, qword [rbp + 0xc0]
mov rcx, qword [rsp + 0x30]
call fcn.140013f40
lea rdx, [0x14000ee60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x140006484
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000647f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000647f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021b80
movdqa xmm0, xmmword [0x140048550]
movdqu xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xb0], 0
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0xf
jbe 0x140006739
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400064de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400064de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021b80
jmp 0x140006739
mov r14, qword [rbp + 0xa0]
sub rax, r14
cmp rax, 0x30
jb 0x1400068a0
lea r12, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova r12, qword [rbp + 0x90]
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x100], xmm1
lea r15, [r14 + 0x30]
mov ebx, 0xf
lea rdi, [rbp + 0xf0]
cmp r15, rbx
jbe 0x1400065c8
mov rbx, r15
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x140006587
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140021680
test rax, rax
je 0x140006714
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400065c1
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400065b0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400068b2
jmp 0x140006568
test rcx, rcx
je 0x1400065bf
call fcn.140021680
mov rdi, rax
jmp 0x1400065c1
xor edi, edi
mov qword [rbp + 0xf0], rdi
mov qword [rbp + 0x100], r15
mov qword [rbp + 0x108], rbx
movups xmm0, xmmword [str._____Something_went_wrong_when_trying_to_inject]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [0x140041fd0]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [0x140041fe0]
movups xmmword [rdi + 0x20], xmm0
lea rcx, [rdi + 0x30]
mov r8, r14
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r15], 0
mov r8d, 1
lea rdx, [0x140041fb8]
lea rcx, [rbp + 0xf0]
call fcn.140009ef0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.140013f40
lea rdx, [0x14000ee60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400066c9
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400066c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400066c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021b80
movdqa xmm0, xmmword [0x140048550]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp + 0x108]
cmp rdx, 0xf
jbe 0x140006720
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000671b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000671b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021b80
lea rcx, str.____Closing_Carbon__n
call fcn.140001090
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea r12, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
xor r14d, r14d
cmp r13, 0xf
jbe 0x14000677e
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140006775
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006775
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140021b80
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x1400067c2
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400067bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400067bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021b80
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], 0xf
mov byte [rbp + 0x90], 0
lea rcx, [rbp + 0x150]
call fcn.1400050d0
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], r12
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x70]
call fcn.1400074c0
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x14000686d
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006868
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006868
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021b80
mov eax, r14d
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140021660
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001390
nop
call fcn.140001250
nop
call fcn.140001250
int3
call fcn.140001250
nop
call fcn.140001390
nop
call fcn.140001390
int3