Function at 0x140049df0
Capabilities:
Encode data using xor
Execute command
Get common file path
Set console window title
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x268]
sub rsp, 0x360
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140155080]
xor rax, rsp
mov qword [rbp + 0x230], rax
xor ebx, ebx
mov dword [str.C_JN_], ebx
mov byte [0x1401d9934], bl
mov qword [0x1401d9900], rbx
mov word [0x1401d9908], bx
mov byte [0x1401d990a], bl
xorps xmm0, xmm0
xor eax, eax
movups xmmword [str.VY_f_vY_v__r__v_qp], xmm0
movups xmmword [0x1401d9950], xmm0
movups xmmword [0x1401d9960], xmm0
movups xmmword [0x1401d9970], xmm0
mov byte [0x1401d9980], al
mov dword [0x1401d98fc], eax
movups xmmword [str._LMJH], xmm0
mov qword [0x1401d9920], rax
mov dword [0x1401d9928], eax
mov byte [0x1401d992c], al
movups xmm0, xmmword [str.cPLT_YO]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x14012e938]
movups xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [str.w_f_65__3__a_r]
movups xmmword [rbp - 0x80], xmm0
movsd xmm0, qword [0x14012e958]
movsd qword [rbp - 0x70], xmm0
movzx eax, word [0x14012e960]
mov word [rbp - 0x68], ax
mov r8d, ebx
movdqa xmm6, xmmword [0x14013abd0]
mov esi, dword [reloc.WS2_32.dll_accept]
cmp esi, 2
jl 0x14004a007
movdqa xmm4, xmmword [0x14013ab50]
movdqa xmm3, xmmword [0x14013b150]
movdqa xmm5, xmmword [str.5555]
movdqa xmm0, xmmword [0x14013ad40]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rsp + 0x64]
mov edx, dword [rbp - 0x40]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x38
jl 0x140049f20
cmp r8d, 0x3a
jge 0x14004a050
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3a
jl 0x14004a020
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
lea rax, [rsp + 0x60]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp byte [rax + r8], bl
jne 0x14004a070
lea rdx, [rsp + 0x60]
lea rcx, [rbp]
call fcn.1400021a0
nop
lea rcx, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, str.Color_0F
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.__Loading..___DO_NOT_CLOSE_THIS_CONSOLE__n
call fcn.140048aa0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x1401dba00]
call fcn.1400bef40
cmp byte [0x1401dbc10], 0
jne 0x14004a27d
mov r10, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x60]
call fcn.14004a750
mov r9, rax
cmp byte [rax + 0x16], 0
je 0x14004a24c
cmp esi, 2
jl 0x14004a214
movdqa xmm5, xmmword [0x14013ab50]
movdqa xmm4, xmmword [0x14013b150]
movdqa xmm7, xmmword [str.5555]
movdqa xmm0, xmmword [0x14013ad40]
movdqa xmmword [rbp - 0x40], xmm0
mov rcx, rax
mov edx, dword [rbp - 0x40]
nop word [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, edx
paddb xmm3, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm3, xmm0
movd dword [rcx + 4], xmm3
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x14004a130
cmp eax, 0x17
jge 0x14004a24c
movsxd r8, ebx
add r8, r9
nop word [rax + rax]
mov eax, 0x4d4873ed
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, bl
sub al, dl
add al, 0x37
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x17
jl 0x14004a220
mov rdx, r9
mov rcx, r10
call fcn.14004c0d0
mov rcx, rax
lea rdx, [0x1401dbc18]
call fcn.14004c2a0
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_26
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
js 0x14004a2ff
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
lea rax, [rbp + 0x20]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14004a2b0
mov r8, rdi
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x40]
call fcn.14004c3d0
nop
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x30]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x40]
cmova rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.14004bec0
nop
lea rcx, [rbp - 0x40]
call fcn.14004bc30
jmp 0x14004a31f
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
xor r8d, r8d
lea rdx, [0x140124918]
lea rcx, [rbp - 0x20]
call fcn.1400021a0
nop
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
mov rcx, qword [rbp - 0x10]
sub rax, rcx
cmp rax, 0xc
jb 0x14004a71b
lea r9, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova r9, qword [rbp - 0x20]
mov qword [rsp + 0x30], listen
lea rsi, str._tulpicalext
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.14004cbb0
nop
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rax, qword [rsp + 0x40]
mov qword [rbp - 0x40], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x38], rax
call fcn.14010f1f4
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.1400492e0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.140049a10
movsd xmm0, qword [rax]
movsd qword [rbp - 0x60], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x40], ecx
lea r14, [0x140155260]
mov qword [rbp - 0x38], r14
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
mov eax, dword [rbp - 0x60]
test eax, eax
je 0x14004a6c1
cmp eax, 1
sete dil
lea rcx, [rsp + 0x60]
call fcn.14004bc30
nop
lea rcx, [rsp + 0x40]
call fcn.140005820
test dil, dil
je 0x14004a4c5
mov rax, rbx
mov rcx, qword [rbp - 0x10]
sub rax, rcx
cmp rax, 0xc
jb 0x14004a721
lea r9, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova r9, qword [rbp - 0x20]
mov qword [rsp + 0x30], listen
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.14004cbb0
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x38], rax
call fcn.14010f1f4
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400492e0
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.14010f454
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14004a727
lea rcx, [rsp + 0x40]
call fcn.14004bc30
nop
lea rcx, [rsp + 0x60]
call fcn.140005820
mov rax, rbx
mov rcx, qword [rbp - 0x10]
sub rax, rcx
cmp rax, 0x14
jb 0x14004a73d
lea r9, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova r9, qword [rbp - 0x20]
mov qword [rsp + 0x30], reloc.WS2_32.dll_sendto
lea rsi, str._tulpicalextconfigs
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.14004cbb0
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x38], rax
call fcn.14010f1f4
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400492e0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.140049a10
movsd xmm0, qword [rax]
movsd qword [rbp - 0x60], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x40], ecx
mov qword [rbp - 0x38], r14
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
mov eax, dword [rbp - 0x60]
test eax, eax
je 0x14004a6cd
cmp eax, 1
sete dil
lea rcx, [rsp + 0x40]
call fcn.14004bc30
nop
lea rcx, [rsp + 0x60]
call fcn.140005820
test dil, dil
je 0x14004a657
mov rax, qword [rbp - 0x10]
sub rbx, rax
cmp rbx, 0x14
jb 0x14004a743
lea r9, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova r9, qword [rbp - 0x20]
mov qword [rsp + 0x30], reloc.WS2_32.dll_sendto
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x60]
call fcn.14004cbb0
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x38], rax
call fcn.14010f1f4
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400492e0
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.14010f454
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14004a6d9
lea rcx, [rsp + 0x40]
call fcn.14004bc30
nop
lea rcx, [rsp + 0x60]
call fcn.140005820
call fcn.140053860
lea rcx, str.press_enter_to_close_cheat
call fcn.140048aa0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
nop
lea rcx, [rbp - 0x20]
call fcn.140005820
nop
lea rcx, [rbp]
call fcn.140005820
xor eax, eax
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.14010fd60
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
mov dil, 1
test ecx, ecx
jne 0x14004a6ef
jmp 0x14004a3f0
mov dil, 1
test ecx, ecx
jne 0x14004a705
jmp 0x14004a585
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, str.create_directory
call fcn.140049940
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x40]
lea rcx, str.exists
call fcn.1400499b0
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x40]
lea rcx, str.exists
call fcn.1400499b0
nop
call fcn.140002120
int3
call fcn.140002120
nop
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, str.create_directory
call fcn.140049940
nop
call fcn.140002120
int3
call fcn.140002120
int3