Function at 0x140010690
Capabilities:
Execute command
Hide graphical window
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x14015d070]
xor rax, rsp
mov qword [rbp + 0xe0], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
mov edx, reloc.WS2_32.dll_sendto
lea ecx, [rdx - 0xf]
call fcn.1400075b0
movsxd rdx, eax
lea rcx, [rsp + 0x38]
call fcn.140007260
cmp qword [rax + 0x18], 0x10
jb 0x1400106f8
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, [rsp + 0x38]
call fcn.14002e3d0
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov dl, reloc.WLDAP32.dll_Ordinal_50
mov byte [rsp + 0x20], 0x7e
mov rbx, rax
mov byte [rsp + 0x28], 0x7d
movzx r9d, dl
xor eax, eax
mov byte [rsp + 0x22], al
xor dl, 0x7d
xor r9b, 0x7d
mov byte [rsp + 0x2a], dl
mov cl, 9
mov byte [rsp + 0x2c], r9b
xor cl, 0x7e
lea rdx, [rsp + 0x29]
mov byte [rsp + 0x21], cl
mov r8b, 0x33
xor r8b, 0x7d
mov cl, 0x3e
xor cl, 0x7d
mov byte [rsp + 0x2b], r8b
mov al, Ordinal_41
mov byte [rsp + 0x29], cl
mov r10b, reloc.WLDAP32.dll_Ordinal_41
lea rcx, [rsp + 0x60]
mov r11b, 0x59
lea r8, [rsp + 0x21]
xor al, 0x7d
xor r10b, 0x7d
xor r11b, 0x7d
mov byte [rsp + 0x2d], al
xor edi, edi
mov byte [rsp + 0x2e], r10b
mov r9, rbx
mov byte [rsp + 0x2f], r11b
mov byte [rsp + 0x30], dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea ecx, [rdi + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov dl, Ordinal_35
mov byte [rsp + 0x20], WSAStartup
mov rbx, rax
mov byte [rsp + 0x28], WSAGetLastError
xor eax, eax
mov byte [rsp + 0x30], dil
movzx r9d, dl
mov byte [rsp + 0x22], al
xor dl, 0x6d
xor r9b, 0x6d
mov r8b, reloc.WLDAP32.dll_Ordinal_35
mov byte [rsp + 0x2a], dl
xor r8b, 0x6d
mov byte [rsp + 0x2c], r9b
mov cl, 6
mov byte [rsp + 0x2b], r8b
xor cl, 0x71
lea r8, [rsp + 0x21]
mov byte [rsp + 0x21], cl
lea rdx, [rsp + 0x29]
mov cl, reloc.WLDAP32.dll_Ordinal_46
mov al, gethostname
xor cl, 0x6d
xor al, 0x6d
mov r10b, reloc.WS2_32.dll_gethostname
mov byte [rsp + 0x29], cl
xor r10b, 0x6d
mov byte [rsp + 0x2d], al
mov r11b, 0x49
mov byte [rsp + 0x2e], r10b
xor r11b, 0x6d
mov r9, rbx
mov byte [rsp + 0x2f], r11b
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8b, reloc.WS2_32.dll_socket
mov byte [rsp + 0x20], Ordinal_50
mov r11, rax
mov byte [rsp + 0x28], 0x59
xor eax, eax
mov cl, 0x42
xor cl, 0x30
mov byte [rsp + 0x22], al
mov byte [rsp + 0x21], cl
movzx eax, r8b
xor r8b, 0x59
mov cl, reloc.WLDAP32.dll_Ordinal_26
xor cl, 0x59
mov byte [rsp + 0x2b], r8b
mov dl, reloc.WLDAP32.dll_Ordinal_22
mov byte [rsp + 0x29], cl
xor dl, 0x59
lea rcx, [rsp + 0x60]
mov r9b, reloc.WS2_32.dll_recv
mov byte [rsp + 0x2a], dl
xor r9b, 0x59
lea r8, [rsp + 0x21]
mov r10b, 0x7d
mov byte [rsp + 0x2c], r9b
xor al, 0x59
lea rdx, [rsp + 0x29]
xor r10b, 0x59
mov byte [rsp + 0x2d], al
xor ebx, ebx
mov byte [rsp + 0x2e], r10b
mov r9, r11
mov byte [rsp + 0x2f], bl
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
lea rdx, [rsp + 0x68]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rsp + 0x68]
mov rcx, rbx
and edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov edx, 0xfffffff0
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, 0xfffffff0
mov rcx, rdi
and eax, 0xfffaffff
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, 1
lea rcx, [0x140006820]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
movdqa xmm1, xmmword [0x140148640]
mov dl, 3
movdqa xmm2, xmmword [0x140148560]
movdqa xmm0, xmm1
movd ecx, xmm1
mov r8b, 4
movdqu xmmword [rsp + 0x38], xmm1
mov r9b, reloc.WS2_32.dll_ntohs
mov r10b, Ordinal_27
psrldq xmm0, 1
mov r11b, 0x57
xor byte [rsp + 0x3a], cl
mov bl, 0x58
xor byte [rsp + 0x3b], cl
mov dil, 0x5c
xor byte [rsp + 0x3c], cl
movd eax, xmm0
movdqu xmmword [rsp + 0x48], xmm2
xor al, cl
xor byte [rsp + 0x3d], cl
mov byte [rsp + 0x39], al
xor byte [rsp + 0x3e], cl
xor dl, cl
xor byte [rsp + 0x3f], cl
xor r8b, cl
xor byte [rsp + 0x40], cl
xor r9b, cl
xor byte [rsp + 0x41], cl
xor r10b, cl
xor byte [rsp + 0x42], cl
xor r11b, cl
xor byte [rsp + 0x43], cl
xor bl, cl
xor byte [rsp + 0x44], cl
xor dil, cl
xor byte [rsp + 0x45], cl
xor byte [rsp + 0x46], cl
xor byte [rsp + 0x47], cl
xor byte [rsp + 0x49], cl
xor byte [rsp + 0x4a], cl
xor byte [rsp + 0x4b], cl
xor byte [rsp + 0x4c], cl
xor byte [rsp + 0x4d], cl
xor byte [rsp + 0x4e], cl
xor byte [rsp + 0x4f], cl
xor byte [rsp + 0x50], cl
xor byte [rsp + 0x51], cl
xor byte [rsp + 0x52], cl
xor byte [rsp + 0x53], cl
xor byte [rsp + 0x54], cl
xor byte [rsp + 0x55], cl
xor byte [rsp + 0x56], cl
xor byte [rsp + 0x57], cl
movd eax, xmm2
mov byte [rsp + 0x58], dl
mov byte [rsp + 0x59], r8b
xor al, cl
mov byte [rsp + 0x5a], r9b
lea rcx, [rsp + 0x39]
mov byte [rsp + 0x48], al
mov byte [rsp + 0x5b], r10b
mov byte [rsp + 0x5c], r11b
mov byte [rsp + 0x5d], bl
mov byte [rsp + 0x5e], dil
mov byte [rsp + 0x5f], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movups xmm0, xmmword [0x140102ae8]
mov eax, dword [0x140102b00]
mov ecx, 0xfffffff5
mov qword [rsp + 0x70], 0x54
movups xmmword [rbp - 0x7c], xmm0
mov qword [rsp + 0x78], 0xe0000
movsd xmm0, qword [0x140102af8]
movsd qword [rbp - 0x6c], xmm0
mov dword [rbp - 0x80], 0x2bc
mov dword [rbp - 0x64], eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentConsoleFontEx]
mov r8d, 0x104
lea rdx, [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
lea rax, [rbp - 0x30]
xorps xmm1, xmm1
mov r8, 0xffffffffffffffff
movups xmmword [rsp + 0x38], xmm0
movdqu xmmword [rsp + 0x48], xmm1
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140010ac0
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400309b0
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0x10
jb 0x140010b15
mov rcx, qword [0x14015d2b8]
inc rdx
cmp rdx, 0x1000
jb 0x140010b10
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140010b77
mov rcx, r8
call fcn.1400ef390
movups xmm0, xmmword [rsp + 0x38]
lea rcx, [rsp + 0x38]
mov byte [rsp + 0x38], 0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [0x14015d2b8], xmm0
movdqa xmm0, xmmword [0x140148350]
movdqu xmmword [rsp + 0x48], xmm0
movups xmmword [0x14015d2c8], xmm1
call fcn.14002e3d0
call fcn.140010010
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400ef370
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3