Function at 0x140081ea0
Capabilities:
Access peb ldr_data
Get ntdll base address
Set console window title

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
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
lea rdx, [0x14007d7c0]
lea rcx, [rbp - 0x19]
call fcn.140082f60
mov rbx, rax
cmp dword [rax + 8], 0
jne 0x140081f06
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140081f23
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
xor edi, edi
mov qword [rbx], rdi
mov dword [rbx + 8], edi
cmp dword [rbp - 0x11], edi
je 0x140081f37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
lea rdx, [0x14007da70]
lea rcx, [rbp + 7]
call fcn.140082f60
mov rbx, rax
cmp dword [rax + 8], 0
jne 0x140081f5b
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 9], xmm0
lea rcx, [rbp - 9]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140081f78
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 + 0xf], 0
je 0x140081f8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
lea rdx, [0x14007dc70]
lea rcx, [rbp + 0x27]
call fcn.140082f60
mov rbx, rax
cmp dword [rax + 8], 0
jne 0x140081faf
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 0x17]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140081fcc
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 + 0x2f], 0
je 0x140081fdf
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 rdi, [0x1406735c0]
lea r15, [0x1406731c0]
lea rsi, [0x1406730c0]
lea r14, [0x140673020]
lea r12, [0x140673320]
call fcn.140080570
mov rdx, qword [0x1406735d0]
mov r8, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, r8
jae 0x140082054
lea rcx, [rdx + 1]
mov qword [0x1406735d0], rcx
mov rcx, rdi
cmp r8, 0x10
cmovae rcx, qword [0x1406735c0]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
jmp 0x140082060
movzx r9d, al
mov rcx, rdi
call fcn.14007bbd0
call fcn.140080570
mov rdx, qword [0x1406731d0]
mov r8, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, r8
jae 0x14008209c
lea rcx, [rdx + 1]
mov qword [0x1406731d0], rcx
mov rcx, r15
cmp r8, 0x10
cmovae rcx, qword [0x1406731c0]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
jmp 0x1400820a8
movzx r9d, al
mov rcx, r15
call fcn.14007bbd0
call fcn.140080570
mov rdx, qword [0x1406730d0]
mov r8, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, r8
jae 0x1400820e4
lea rcx, [rdx + 1]
mov qword [0x1406730d0], rcx
mov rcx, rsi
cmp r8, 0x10
cmovae rcx, qword [0x1406730c0]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
jmp 0x1400820f0
movzx r9d, al
mov rcx, rsi
call fcn.14007bbd0
call fcn.140080570
mov rdx, qword [0x140673030]
mov r8, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, r8
jae 0x14008212c
lea rcx, [rdx + 1]
mov qword [0x140673030], rcx
mov rcx, r14
cmp r8, 0x10
cmovae rcx, qword [0x140673020]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
jmp 0x140082138
movzx r9d, al
mov rcx, r14
call fcn.14007bbd0
call fcn.140080570
mov rdx, qword [0x140673330]
mov r8, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, r8
jae 0x140082174
lea rcx, [rdx + 1]
mov qword [0x140673330], rcx
mov rcx, r12
cmp r8, 0x10
cmovae rcx, qword [0x140673320]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
jmp 0x140082180
movzx r9d, al
mov rcx, r12
call fcn.14007bbd0
sub rbx, 1
jne 0x140082018
mov dword [rbp + 0x67], 0xaea7abe8
mov word [rbp + 0x6b], 0x100
lea rcx, [rbp + 0x67]
call fcn.14007cd40
mov rdx, rax
mov rcx, r14
call fcn.14007d5a0
mov dword [rbp + 0x6f], 0xacb0a2e8
mov word [rbp + 0x73], 0x100
lea rcx, [rbp + 0x6f]
call fcn.14007cd40
mov rdx, rax
mov rcx, rsi
call fcn.14007d5a0
mov rcx, rdi
call fcn.14007b3c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea ecx, [rbx + 0xa]
call fcn.1400806e0
movdqa xmm0, xmmword [0x1402d2b80]
movdqu xmmword [rbp - 0x69], xmm0
movdqa xmm1, xmmword [0x1402d2ad0]
movdqu xmmword [rbp - 0x59], xmm1
mov dword [rbp - 0x49], 0xaf8fad8a
mov dword [rbp - 0x45], 0xb3a7bb
mov byte [rbp - 0x41], 1
lea rcx, [rbp - 0x69]
call fcn.1400822b0
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14007b860
lea rdx, [0x14007ba30]
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]
lea ecx, [rbx + 0xb]
call fcn.1400806e0
movdqa xmm0, xmmword [0x1402d2ae0]
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rbp - 0x79], 0x8bfaadbb
mov dword [rbp - 0x75], 0xb6b2bfa9
mov word [rbp - 0x71], 0x83
mov byte [rbp - 0x6f], 1
lea rcx, [rsp + 0x20]
call fcn.14007da40
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14007b860
lea rdx, [0x14007ba30]
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]
lea ecx, [rbx + 0xf]
call fcn.1400806e0
call fcn.14007ff60
call fcn.14007ff60
call fcn.140081e50
int3