Function at 0x140006df0
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x14009c080]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov dword [rbp - 0x45], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
xor ebx, ebx
mov qword [rbp - 0x31], rbx
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x29], rdi
mov byte [rbp - 0x41], bl
mov dword [rbp - 0x45], 1
mov esi, edi
movabs r14, 0x842108421084211
lea r15, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r14
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
movzx r9d, byte [rcx + r15]
cmp rbx, rdi
jae 0x140006ea8
lea rax, [rbx + 1]
mov qword [rbp - 0x31], rax
lea rax, [rbp - 0x41]
cmp rdi, 0xf
cmova rax, qword [rbp - 0x41]
mov byte [rax + rbx], r9b
mov byte [rax + rbx + 1], 0
jmp 0x140006eb8
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x41]
call fcn.14001c9e0
sub rsi, 1
je 0x140006ec8
mov rdi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x31]
jmp 0x140006e58
mov rsi, qword [0x14014e3d0]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 7
jb 0x140007177
lea r15, [0x14014e3c0]
cmp qword [0x14014e3d8], 0xf
cmova r15, qword [0x14014e3c0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
lea r14, [rsi + 7]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rbp - 0x21]
cmp r14, rbx
jbe 0x140006f9a
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x140006f5d
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14007d740
test rax, rax
je 0x1400070a1
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140006f96
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140006f85
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000717d
jmp 0x140006f3e
test rcx, rcx
je 0x140006f94
call fcn.14007d740
mov rdi, rax
jmp 0x140006f96
xor edi, edi
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], rbx
mov rax, qword [str.DIABLO]
mov dword [rdi], eax
movzx eax, word [0x14008ea14]
mov word [rdi + 4], ax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_32]
mov byte [rdi + 6], al
lea rcx, [rdi + 7]
mov r8, rsi
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
mov dword [rbp - 0x45], 3
mov r8d, 3
lea rdx, [0x14008ea0c]
lea rcx, [rbp - 0x21]
call fcn.14001c020
movups xmm0, xmmword [rax]
movups xmmword [rbp - 1], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov dword [rbp - 0x45], 7
lea r9, [rbp - 0x41]
lea r8, [rbp - 1]
movzx edx, byte [rbp - 0x49]
lea rcx, [rbp + 0x1f]
call fcn.14001cd80
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x14000706f
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007069
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007069
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007d77c
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x1400070ad
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400070a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400070a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007d77c
movdqa xmm0, xmmword [0x140090a90]
movdqu xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x1400070fc
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400070f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400070f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007d77c
lea rcx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0xf
cmova rcx, qword [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x14000714e
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007149
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007149
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007d77c
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14007d720
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140001de0
nop
call fcn.140001d40
int3