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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1402f6010]
xor rax, rsp
mov qword [rbp + 0x78], 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
lea rdx, [0x14007eaf0]
lea rcx, [rbp - 0x40]
call fcn.1400869c0
mov rbx, rax
cmp dword [rax + 8], 0
jne 0x140084f6a
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140084f87
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 - 0x38], edi
je 0x140084f9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
lea rdx, [0x14007eb20]
lea rcx, [rbp - 0x20]
call fcn.140086b10
mov rbx, rax
cmp dword [rax + 8], 0
jne 0x140084fbf
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140084fdc
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 0x140084fef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
lea rdx, [0x14007eda0]
lea rcx, [rbp]
call fcn.140086b10
mov rbx, rax
cmp dword [rax + 8], 0
jne 0x140085013
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140085030
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 0x140085043
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
lea rdx, [0x14007efa0]
lea rcx, [rbp + 0x20]
call fcn.140086b10
mov rbx, rax
cmp dword [rax + 8], 0
jne 0x140085067
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x10], xmm0
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140085084
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 + 0x28], 0
je 0x140085097
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, [0x1406891d0]
lea r15, [0x140688dd0]
lea r13, [0x140688cd0]
lea r14, [0x140688c30]
lea r12, [0x140688f30]
call fcn.140081ec0
mov rdx, qword [0x1406891e0]
mov r8, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, r8
jae 0x14008510c
lea rcx, [rdx + 1]
mov qword [0x1406891e0], rcx
mov rcx, rsi
cmp r8, 0x10
cmovae rcx, qword [0x1406891d0]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
jmp 0x140085118
movzx r9d, al
mov rcx, rsi
call fcn.14007cee0
call fcn.140081ec0
mov rdx, qword [0x140688de0]
mov r8, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, r8
jae 0x140085154
lea rcx, [rdx + 1]
mov qword [0x140688de0], rcx
mov rcx, r15
cmp r8, 0x10
cmovae rcx, qword [0x140688dd0]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
jmp 0x140085160
movzx r9d, al
mov rcx, r15
call fcn.14007cee0
call fcn.140081ec0
mov rdx, qword [0x140688ce0]
mov r8, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, r8
jae 0x14008519c
lea rcx, [rdx + 1]
mov qword [0x140688ce0], rcx
mov rcx, r13
cmp r8, 0x10
cmovae rcx, qword [0x140688cd0]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
jmp 0x1400851a8
movzx r9d, al
mov rcx, r13
call fcn.14007cee0
call fcn.140081ec0
mov rdx, qword [0x140688c40]
mov r8, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, r8
jae 0x1400851e4
lea rcx, [rdx + 1]
mov qword [0x140688c40], rcx
mov rcx, r14
cmp r8, 0x10
cmovae rcx, qword [0x140688c30]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
jmp 0x1400851f0
movzx r9d, al
mov rcx, r14
call fcn.14007cee0
call fcn.140081ec0
mov rdx, qword [0x140688f40]
mov r8, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, r8
jae 0x14008522c
lea rcx, [rdx + 1]
mov qword [0x140688f40], rcx
mov rcx, r12
cmp r8, 0x10
cmovae rcx, qword [0x140688f30]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
jmp 0x140085238
movzx r9d, al
mov rcx, r12
call fcn.14007cee0
sub rbx, 1
jne 0x1400850d0
mov dword [rsp + 0x20], 0x68616122
mov word [rsp + 0x24], 0x100
mov rcx, rdi
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 0xc]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 4
jb 0x140085260
mov byte [rsp + 0x25], 0
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140085284
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.14007c690
mov dword [rsp + 0x28], 0x6a766822
mov word [rsp + 0x2c], 0x100
mov rcx, rdi
nop dword [rax]
lea eax, [rcx + 0xc]
xor byte [rsp + rcx + 0x28], al
inc rcx
cmp rcx, 4
jb 0x1400852b0
mov byte [rsp + 0x2d], 0
lea rax, [rsp + 0x28]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400852d0
mov r8, rbx
lea rdx, [rsp + 0x28]
mov rcx, r13
call fcn.14007c690
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rsi, qword [0x1406891d0]
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 + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx edx, word [rbp + 0x38]
mov esi, 0xf0
and dx, si
or dx, 0xa
mov word [rbp + 0x38], dx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movdqa xmm0, xmmword [0x1402d7bf0]
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [str.EIRALVA_b_O]
movdqu xmmword [rsp + 0x60], xmm1
mov dword [rsp + 0x70], 0x75556b4c
mov dword [rsp + 0x74], 0x697965
mov byte [rsp + 0x78], 1
mov rdx, rdi
nop
lea eax, [rdx + 0xe]
xor byte [rsp + rdx + 0x50], al
inc rdx
cmp rdx, 0x27
jb 0x140085370
mov byte [rsp + 0x78], 0
lea rdx, [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14007ca50
lea rdx, [0x14007cc20]
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 + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx edx, word [rbp + 0x50]
and dx, si
or dx, 0xb
mov word [rbp + 0x50], dx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movdqa xmm0, xmmword [0x1402d7d50]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x55487877
mov dword [rsp + 0x44], 0x47517302
mov dword [rsp + 0x48], 0x4b4e4a
mov byte [rsp + 0x4c], 1
mov r8, rdi
nop word [rax + rax]
lea eax, [r8 + 0xe]
xor byte [rsp + r8 + 0x30], al
inc r8
cmp r8, 0x1b
jb 0x140085410
mov byte [rsp + 0x4c], 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.14007ca50
lea rdx, [0x14007cc20]
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 + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx edx, word [rbp + 0x68]
and dx, si
or dx, 0xf
mov word [rbp + 0x68], dx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
call fcn.140081630
movdqa xmm0, xmmword [0x1402d7d80]
movdqu xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [str.j0ZLO_fGMCDCMHOH]
movdqu xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], 0x40475e
mov byte [rbp - 0x5c], 1
nop word [rax + rax]
lea eax, [rdi + 0xe]
xor byte [rbp + rdi - 0x80], al
inc rdi
cmp rdi, 0x23
jb 0x1400854b0
mov byte [rbp - 0x5c], 0
lea rcx, [rbp - 0x80]
call fcn.140083960
xor eax, eax
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.1400885e0
lea r11, [rsp + 0x180]
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