Function at 0x1400847b0
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Set console window title

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1402f3010]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rdx, qword [rcx + 0x10]
mov eax, dword [rdx + 0x30]
add eax, 0x100000
mov dword [rdx + 0x40], eax
mov ecx, 8
call fcn.140087f68
mov rbx, rax
lea rax, [0x14007ead0]
mov qword [rbx], rax
mov qword [rbp - 0x60], rbx
xor eax, eax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x40]
call fcn.140083110
lea rax, vtable.std::_LaunchPad_class_std::unique_ptr_class_std::tuple_void____cdecl___void____struct_std::default_delete_class_std::tuple_void____cdecl___void_____.0
mov qword [rbp + 0x40], rax
xor edi, edi
mov qword [rbp - 0x60], rdi
mov qword [rbp + 0x60], rbx
lea r8, [rbp + 0x40]
lea rdx, [0x1400831d0]
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_start]
mov ecx, 1
cmp eax, 4
cmovne ecx, eax
test ecx, ecx
je 0x140084884
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
cmp byte [rbp + 0x58], 0
jne 0x1400848b0
nop word [rax + rax]
mov rdx, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll__Cnd_wait]
test eax, eax
je 0x1400848aa
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
cmp byte [rbp + 0x58], 0
je 0x140084890
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x1400848c4
mov edx, 8
call fcn.140087b3c
nop
mov rsi, qword [rbp + 0x48]
mov rbx, qword [rbp + 0x50]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test eax, eax
je 0x1400848e1
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_destroy]
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Cnd_destroy]
nop
cmp dword [rbp - 0x48], 0
jne 0x140084905
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140084925
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
lea rdx, [0x14007eb00]
lea rcx, [rbp - 0x10]
call fcn.140086340
mov rbx, rax
cmp dword [rax + 8], 0
jne 0x140084949
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140084966
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov qword [rbx], rdi
mov dword [rbx + 8], edi
cmp dword [rbp - 8], 0
je 0x140084979
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
lea rdx, [0x14007ed80]
lea rcx, [rbp + 0x10]
call fcn.140086340
mov rbx, rax
cmp dword [rax + 8], 0
jne 0x14008499d
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movups xmm0, xmmword [rbx]
movaps xmmword [rbp], xmm0
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1400849ba
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov qword [rbx], rdi
mov dword [rbx + 8], edi
cmp dword [rbp + 0x18], 0
je 0x1400849cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
lea rdx, [0x14007ef80]
lea rcx, [rbp + 0x30]
call fcn.140086340
mov rbx, rax
cmp dword [rax + 8], 0
jne 0x1400849f1
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140084a0e
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov qword [rbx], rdi
mov dword [rbx + 8], edi
cmp dword [rbp + 0x38], 0
je 0x140084a21
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov ebx, 0xa
lea rsi, [0x1406afde0]
lea r15, [0x1406af9c0]
lea r13, [0x1406af8c0]
lea r14, [0x1406af820]
lea r12, [0x1406afb40]
nop word [rax + rax]
call fcn.140081b00
mov rdx, qword [0x1406afdf0]
mov r8, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, r8
jae 0x140084a9c
lea rcx, [rdx + 1]
mov qword [0x1406afdf0], rcx
mov rcx, rsi
cmp r8, 0x10
cmovae rcx, qword [0x1406afde0]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
jmp 0x140084aa8
movzx r9d, al
mov rcx, rsi
call fcn.14007cf10
call fcn.140081b00
mov rdx, qword [0x1406af9d0]
mov r8, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, r8
jae 0x140084ae4
lea rcx, [rdx + 1]
mov qword [0x1406af9d0], rcx
mov rcx, r15
cmp r8, 0x10
cmovae rcx, qword [0x1406af9c0]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
jmp 0x140084af0
movzx r9d, al
mov rcx, r15
call fcn.14007cf10
call fcn.140081b00
mov rdx, qword [0x1406af8d0]
mov r8, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, r8
jae 0x140084b2c
lea rcx, [rdx + 1]
mov qword [0x1406af8d0], rcx
mov rcx, r13
cmp r8, 0x10
cmovae rcx, qword [0x1406af8c0]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
jmp 0x140084b38
movzx r9d, al
mov rcx, r13
call fcn.14007cf10
call fcn.140081b00
mov rdx, qword [0x1406af830]
mov r8, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, r8
jae 0x140084b74
lea rcx, [rdx + 1]
mov qword [0x1406af830], rcx
mov rcx, r14
cmp r8, 0x10
cmovae rcx, qword [0x1406af820]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
jmp 0x140084b80
movzx r9d, al
mov rcx, r14
call fcn.14007cf10
call fcn.140081b00
mov rdx, qword [0x1406afb50]
mov r8, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, r8
jae 0x140084bbc
lea rcx, [rdx + 1]
mov qword [0x1406afb50], rcx
mov rcx, r12
cmp r8, 0x10
cmovae rcx, qword [0x1406afb40]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
jmp 0x140084bc8
movzx r9d, al
mov rcx, r12
call fcn.14007cf10
sub rbx, 1
jne 0x140084a60
mov dword [rsp + 0x20], 0x6069692a
mov word [rsp + 0x24], 0x100
mov rcx, rdi
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 4]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 4
jb 0x140084bf0
mov byte [rsp + 0x25], 0
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140084c14
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.14007c6c0
mov dword [rsp + 0x28], 0x627e602a
mov word [rsp + 0x2c], 0x100
mov rcx, rdi
nop dword [rax]
lea eax, [rcx + 4]
xor byte [rsp + rcx + 0x28], al
inc rcx
cmp rcx, 4
jb 0x140084c40
mov byte [rsp + 0x2d], 0
lea rax, [rsp + 0x28]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140084c60
mov r8, rbx
lea rdx, [rsp + 0x28]
mov rcx, r13
call fcn.14007c6c0
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rsi, qword [0x1406afde0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
lea rdx, [rbp + 0x68]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx edx, word [rbp + 0x70]
mov esi, 0xf0
and dx, si
or dx, 0xa
mov word [rbp + 0x70], dx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movdqa xmm0, xmmword [0x1402d6bb0]
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1402d6db0]
movdqu xmmword [rsp + 0x58], xmm1
mov dword [rsp + 0x68], 0x6d4d6344
mov dword [rsp + 0x6c], 0x71617d
mov byte [rsp + 0x70], 1
mov rdx, rdi
nop
lea eax, [rdx + 6]
xor byte [rsp + rdx + 0x48], al
inc rdx
cmp rdx, 0x27
jb 0x140084d00
mov byte [rsp + 0x70], 0
lea rdx, [rsp + 0x48]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14007ca80
lea rdx, [0x14007cc50]
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]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
lea rdx, [rbp + 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx edx, word [rbp + 0x88]
and dx, si
or dx, 0xb
mov word [rbp + 0x88], dx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movdqa xmm0, xmmword [0x1402d6d30]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x40], 0x100
mov r8, rdi
nop word [rax + rax]
lea eax, [r8 + 6]
xor byte [rsp + r8 + 0x30], al
inc r8
cmp r8, 0x10
jb 0x140084d90
mov byte [rsp + 0x41], 0
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14007ca80
lea rdx, [0x14007cc50]
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]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
lea rdx, [rbp + 0x98]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx edx, word [rbp + 0xa0]
and dx, si
or dx, 0xf
mov word [rbp + 0xa0], dx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
call fcn.140081270
movdqa xmm0, xmmword [0x1402d6d00]
movdqu xmmword [rsp + 0x78], xmm0
movdqa xmm1, xmmword [0x1402d6df0]
movdqu xmmword [rbp - 0x78], xmm1
mov dword [rbp - 0x68], 0x530c4454
mov dword [rbp - 0x64], 0x100554c
xor byte [rsp + rdi + 0x78], dil
inc rdi
cmp rdi, 0x26
jb 0x140084e32
mov byte [rbp - 0x61], 0
lea rcx, [rsp + 0x78]
call fcn.140083200
xor eax, eax
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140087b10
lea r11, [rsp + 0x1c0]
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