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

Disassembly:
push rbp
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x140158418]
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.14002e090
movsxd rdx, eax
lea rcx, [rsp + 0x38]
call fcn.14002e1e0
cmp qword [rax + 0x18], 0x10
jb 0x140024caa
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140024cf3
mov rcx, qword [rsp + 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024cee
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024cee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e9774
mov qword [rsp + 0x200], rbx
mov qword [rsp + 0x208], rsi
mov qword [rsp + 0x210], rdi
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
xor ecx, ecx
mov byte [rsp + 0x20], Ordinal_33
mov byte [rsp + 0x22], cl
mov al, 0x68
mov cl, Ordinal_79
mov byte [rsp + 0x28], 1
xor al, 0x1f
movzx r8d, cl
mov byte [rsp + 0x21], al
xor cl, 1
xor ebx, ebx
mov byte [rsp + 0x2a], cl
mov al, 0x42
mov byte [rsp + 0x30], bl
mov dl, reloc.WLDAP32.dll_Ordinal_79
mov r9b, 0x54
mov r10b, 0x55
mov r11b, 0x25
xor al, 1
lea ecx, [rbx + 1]
xor dl, 1
mov byte [rsp + 0x29], al
xor r8b, 1
mov byte [rsp + 0x2b], dl
xor r9b, 1
mov byte [rsp + 0x2c], r8b
xor r10b, 1
mov byte [rsp + 0x2d], r9b
xor r11b, 1
mov byte [rsp + 0x2e], r10b
mov byte [rsp + 0x2f], r11b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [rsp + 0x21]
lea rdx, [rsp + 0x29]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
xor ecx, ecx
mov byte [rsp + 0x20], Ordinal_41
mov byte [rsp + 0x22], cl
mov al, 0x52
mov cl, 0x56
mov byte [rsp + 0x28], Ordinal_27
xor al, 0x25
mov byte [rsp + 0x30], bl
movzx r8d, cl
mov byte [rsp + 0x21], al
xor cl, 0x19
mov al, 0x5a
mov dl, 0x57
mov byte [rsp + 0x2a], cl
mov r9b, 0x4c
lea ecx, [rbx + 2]
mov r10b, Ordinal_79
mov r11b, 0x3d
xor al, 0x19
xor dl, 0x19
xor r8b, 0x19
mov byte [rsp + 0x29], al
xor r9b, 0x19
mov byte [rsp + 0x2b], dl
xor r10b, 0x19
mov byte [rsp + 0x2c], r8b
xor r11b, 0x19
mov byte [rsp + 0x2d], r9b
mov byte [rsp + 0x2e], r10b
mov byte [rsp + 0x2f], r11b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [rsp + 0x21]
lea rdx, [rsp + 0x29]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov byte [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_60
xor ecx, ecx
mov byte [rsp + 0x28], Ordinal_50
mov byte [rsp + 0x22], cl
mov dl, 0x7e
mov cl, 0x7f
mov byte [rsp + 0x2f], bl
xor cl, 0x30
movzx r9d, dl
mov al, Ordinal_79
mov byte [rsp + 0x2a], cl
xor al, 0x3c
mov r8b, 0x79
mov byte [rsp + 0x21], al
mov r10b, reloc.WS2_32.dll_sendto
mov al, reloc.WS2_32.dll_WSAStartup
xor dl, 0x30
xor al, 0x30
mov byte [rsp + 0x2b], dl
xor r8b, 0x30
mov byte [rsp + 0x29], al
xor r9b, 0x30
mov byte [rsp + 0x2c], r8b
xor r10b, 0x30
mov byte [rsp + 0x2d], r9b
xor ecx, ecx
mov byte [rsp + 0x2e], r10b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [rsp + 0x21]
lea rdx, [rsp + 0x29]
lea rcx, [rsp + 0x60]
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, [0x140012c90]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
movdqa xmm1, xmmword [0x14012e4f0]
mov dl, 0x58
movdqa xmm2, xmmword [0x14012e590]
movdqa xmm0, xmm1
movd ecx, xmm1
mov r8b, 0x5f
movdqu xmmword [rsp + 0x38], xmm1
mov r9b, 0x54
mov r10b, 0x42
psrldq xmm0, 1
mov r11b, listen
xor byte [rsp + 0x3a], cl
mov bl, 3
xor byte [rsp + 0x3b], cl
mov dil, 7
xor byte [rsp + 0x3c], cl
xor byte [rsp + 0x3d], cl
xor byte [rsp + 0x3e], cl
xor byte [rsp + 0x3f], cl
xor byte [rsp + 0x40], cl
xor byte [rsp + 0x41], cl
movd eax, xmm0
movdqu xmmword [rsp + 0x48], xmm2
xor al, cl
xor byte [rsp + 0x42], cl
mov byte [rsp + 0x39], al
xor byte [rsp + 0x43], cl
xor dl, cl
xor byte [rsp + 0x44], cl
xor r8b, cl
xor byte [rsp + 0x45], cl
xor r9b, cl
xor byte [rsp + 0x46], cl
xor r10b, cl
xor byte [rsp + 0x47], cl
xor r11b, cl
xor byte [rsp + 0x49], cl
xor bl, cl
xor byte [rsp + 0x4a], cl
xor dil, 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 [str.Cascadia_Code]
mov eax, dword [0x14012c280]
mov ecx, 0xfffffff5
mov qword [rsp + 0x70], 0x54
movups xmmword [rbp - 0x7c], xmm0
mov qword [rsp + 0x78], 0xe0000
movsd xmm0, qword [0x14012c278]
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]
mov r8, 0xffffffffffffffff
movups xmmword [rsp + 0x38], xmm0
mov rbx, r8
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400250a0
movabs rsi, 0x7fffffffffffffff
cmp rbx, rsi
ja 0x1400251c3
cmp rbx, 0x10
jae 0x1400250e8
mov r8, rbx
mov qword [rsp + 0x48], rbx
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x38], 0
jmp 0x14002513d
mov rax, rbx
or rax, 0xf
cmp rax, rsi
ja 0x140025103
mov ecx, reloc.WLDAP32.dll_Ordinal_22
mov rsi, rax
cmp rax, rcx
cmovb rsi, rcx
mov rdx, rsi
lea rcx, [rsp + 0x38]
add rdx, 1
cmovb rdx, r8
call fcn.140011e60
mov r8, rbx
mov qword [rsp + 0x38], rax
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x48], rbx
mov rcx, rax
mov qword [rsp + 0x50], rsi
mov rdi, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
lea rdx, [rsp + 0x38]
lea rcx, [0x140158118]
call fcn.14000e980
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002518e
mov rcx, qword [rsp + 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025189
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140025189
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e9774
call fcn.14002d310
mov rsi, qword [rsp + 0x208]
mov rbx, qword [rsp + 0x200]
mov rdi, qword [rsp + 0x210]
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400ea080
add rsp, 0x1f0
pop rbp
ret
call fcn.140011b60
int3