Function at 0x14004a370
Capabilities:
Encode data using xor
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
push rbp
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x350
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x140139080]
xor rax, rsp
mov qword [rbp + 0x220], rax
xor esi, esi
mov qword [0x14013b588], rsi
mov dword [0x14013b590], esi
mov word [0x14013b594], si
mov qword [0x14013b2d8], rsi
mov word [0x14013b2e0], si
mov byte [0x14013b2e2], sil
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x14013b5a0], xmm0
movups xmmword [0x14013b5b0], xmm0
movups xmmword [0x14013b5c0], xmm0
movups xmmword [0x14013b5d0], xmm0
mov byte [0x14013b5e0], al
mov dword [0x14013b2d0], eax
movups xmmword [0x14013b2e8], xmm0
mov qword [0x14013b2f8], rax
mov dword [0x14013b300], eax
mov byte [0x14013b304], al
movups xmm3, xmmword [0x140114d30]
movups xmmword [rbp - 0x70], xmm3
movdqa xmm7, xmmword [0x140120210]
mov edi, dword [reloc.WS2_32.dll_accept]
movdqa xmm0, xmm3
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x14004a629
mov r8d, esi
cmp edi, 2
jl 0x14004a5f8
movdqa xmm4, xmmword [0x140120620]
movdqa xmm5, xmmword [str.3333]
movdqa xmm6, xmmword [0x140120290]
movdqa xmm2, xmmword [0x140120160]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd eax, xmm3
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x70], xmm2
movdqa xmm2, xmmword [0x140120180]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rbp - 0x6c]
xorps xmm2, xmm0
movd dword [rbp - 0x6c], xmm2
movdqa xmm3, xmmword [0x140120190]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
movd xmm0, dword [rbp - 0x68]
xorps xmm3, xmm0
movd dword [rbp - 0x68], xmm3
movdqa xmm2, xmmword [0x1401201a0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rbp - 0x64]
xorps xmm2, xmm0
movd dword [rbp - 0x64], xmm2
jmp 0x14004a629
lea r9, [rbp - 0x70]
nop dword [rax]
mov eax, 0xa0a0a0a1
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x14004a600
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea rax, [rbp - 0x70]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], sil
jne 0x14004a646
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.1400028b0
nop
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, [0x14013b310]
call fcn.1400a3140
cmp byte [0x14013b520], 0
jne 0x14004a6f1
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x70]
call fcn.14004ade0
movzx edx, byte [rax + 8]
test dl, dl
je 0x14004a6c3
xor byte [rax], 0x39
xor byte [rax + 1], 0x3a
xor byte [rax + 2], 0x3b
xor byte [rax + 3], 0x3c
xor byte [rax + 4], 0x3d
xor byte [rax + 5], 0x3e
xor byte [rax + 6], 0x3f
xor byte [rax + 7], 0x40
xor dl, 0x41
mov byte [rax + 8], dl
mov rdx, rax
call fcn.14004c670
mov rcx, rax
lea rdx, [0x14013b528]
call fcn.14004c840
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
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x140120120]
movdqu xmmword [rbp], xmm1
mov byte [rbp - 0x10], 0
movups xmm0, xmmword [str.bsulhjb_]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x140114dc8]
movups xmmword [rsp + 0x70], xmm1
movsd xmm0, qword [0x140114dd8]
movsd qword [rbp - 0x80], xmm0
movzx eax, word [0x140114de0]
mov word [rbp - 0x78], ax
mov ecx, esi
cmp edi, 2
jl 0x14004a85e
movdqa xmm4, xmmword [0x140120160]
movdqa xmm3, xmmword [0x140120620]
movdqa xmm5, xmmword [str.3333]
movdqa xmm0, xmmword [0x140120290]
movdqa xmmword [rbp - 0x70], xmm0
lea rdx, [rsp + 0x64]
mov r8d, dword [rbp - 0x70]
movd xmm2, ecx
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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x28
jl 0x14004a772
cmp ecx, 0x2a
jge 0x14004a89e
movsxd rax, ecx
lea r8, [rsp + 0x60]
add r8, rax
nop dword [rax]
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x2a
jl 0x14004a870
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004c670
lea rdx, [rbp - 0x10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.14004c860
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x60]
call fcn.140005b00
mov rdx, rax
lea rcx, [0x14013b310]
call fcn.1400a4830
cmp byte [0x14013b520], 0
jne 0x14004a950
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x70]
call fcn.14004ade0
movzx edx, byte [rax + 8]
test dl, dl
je 0x14004a922
xor byte [rax], 0x39
xor byte [rax + 1], 0x3a
xor byte [rax + 2], 0x3b
xor byte [rax + 3], 0x3c
xor byte [rax + 4], 0x3d
xor byte [rax + 5], 0x3e
xor byte [rax + 6], 0x3f
xor byte [rax + 7], 0x40
xor dl, 0x41
mov byte [rax + 8], dl
mov rdx, rax
call fcn.14004c670
mov rcx, rax
lea rdx, [0x14013b528]
call fcn.14004c840
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 + 0x10]
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 0x14004a9d2
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
lea rax, [rbp + 0x10]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14004a983
mov r8, rbx
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x70]
call fcn.14004cb80
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rdx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x60]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x70]
cmova rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.14004c350
nop
lea rcx, [rbp - 0x70]
call fcn.14004c040
jmp 0x14004a9f2
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], rsi
xor r8d, r8d
lea rdx, [0x14010ab48]
lea rcx, [rbp - 0x50]
call fcn.1400028b0
nop
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
mov rcx, qword [rbp - 0x40]
sub rax, rcx
cmp rax, 9
jb 0x14004ad7a
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
mov qword [rsp + 0x30], 9
lea r14, str.orthodox
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.14004d3b0
nop
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rax, qword [rsp + 0x40]
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x68], rax
call fcn.1400f5810
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140049810
nop
mov qword [rbp - 0x70], rsi
lea r15, [0x140139260]
mov qword [rbp - 0x68], r15
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x60]
call fcn.140049f60
movzx edi, al
cmp dword [rbp - 0x70], 0
jne 0x14004ad80
lea rcx, [rsp + 0x60]
call fcn.14004c040
nop
lea rcx, [rsp + 0x40]
call fcn.140005f30
test dil, dil
jne 0x14004ab7f
mov rax, rbx
mov rcx, qword [rbp - 0x40]
sub rax, rcx
cmp rax, 9
jb 0x14004ad96
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
mov qword [rsp + 0x30], 9
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.14004d3b0
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x68], rax
call fcn.1400f5810
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140049810
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.1400f5a70
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14004ad9c
lea rcx, [rsp + 0x40]
call fcn.14004c040
nop
lea rcx, [rsp + 0x60]
call fcn.140005f30
mov rax, rbx
mov rcx, qword [rbp - 0x40]
sub rax, rcx
cmp rax, 0x11
jb 0x14004adb2
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
mov qword [rsp + 0x30], reloc.WS2_32.dll_recvfrom
lea r14, str.orthodoxconfigs
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.14004d3b0
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x68], rax
call fcn.1400f5810
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140049810
nop
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], r15
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.140049f60
movzx edi, al
cmp dword [rbp - 0x70], 0
jne 0x14004adb8
lea rcx, [rsp + 0x40]
call fcn.14004c040
nop
lea rcx, [rsp + 0x60]
call fcn.140005f30
test dil, dil
jne 0x14004acf8
mov rax, qword [rbp - 0x40]
sub rbx, rax
cmp rbx, 0x11
jb 0x14004adce
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
mov qword [rsp + 0x30], reloc.WS2_32.dll_recvfrom
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x60]
call fcn.14004d3b0
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x68], rax
call fcn.1400f5810
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140049810
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.1400f5a70
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14004ad64
lea rcx, [rsp + 0x40]
call fcn.14004c040
nop
lea rcx, [rsp + 0x60]
call fcn.140005f30
call fcn.140053e00
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
nop
lea rcx, [rbp - 0x50]
call fcn.140005f30
nop
lea rcx, [rbp - 0x10]
call fcn.140005f30
nop
lea rcx, [rbp - 0x30]
call fcn.140005f30
xor eax, eax
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1400f63d0
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, str.create_directory
call fcn.140049e90
nop
call fcn.140002830
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x70]
lea rcx, str.exists
call fcn.140049f00
nop
call fcn.140002830
nop
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, str.create_directory
call fcn.140049e90
nop
call fcn.140002830
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x70]
lea rcx, str.exists
call fcn.140049f00
nop
call fcn.140002830
int3