Function at 0x14004a3b0
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
mov rax, qword [0x140139080]
xor rax, rsp
mov qword [rbp + 0x230], 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 xmm0, xmmword [0x140114ca8]
movups xmmword [rbp - 0x70], xmm0
movdqa xmm6, xmmword [0x1401201c0]
mov edi, dword [reloc.WS2_32.dll_accept]
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x14004a5e0
cmp edi, 2
jl 0x14004a5a1
movdqa xmm4, xmmword [0x140120130]
mov edx, esi
movdqa xmm3, xmmword [0x140120530]
movdqa xmm5, xmmword [0x140120160]
movdqa xmm0, xmmword [0x140120240]
movdqa xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x6c]
mov r8d, dword [rbp - 0x60]
nop dword [rax + rax]
movd xmm2, edx
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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x14004a4c0
jmp 0x14004a5e0
lea r9, [rbp - 0x70]
mov r8d, esi
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x14004a5b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
lea rax, [rbp - 0x70]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x14004a600
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x20]
call fcn.1400027e0
nop
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, [0x14013b310]
call fcn.1400a3110
cmp byte [0x14013b520], 0
jne 0x14004a6ab
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.14004ad80
movzx edx, byte [rax + 8]
test dl, dl
je 0x14004a67d
xor byte [rax], 0x31
xor byte [rax + 1], 0x32
xor byte [rax + 2], 0x33
xor byte [rax + 3], 0x34
xor byte [rax + 4], 0x35
xor byte [rax + 5], 0x36
xor byte [rax + 6], 0x37
xor byte [rax + 7], 0x38
xor dl, 0x39
mov byte [rax + 8], dl
mov rdx, rax
call fcn.14004c610
mov rcx, rax
lea rdx, [0x14013b528]
call fcn.14004c7e0
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], xmm0
movdqa xmm1, xmmword [0x1401200f0]
movdqu xmmword [rbp + 0x10], xmm1
mov byte [rbp], 0
movups xmm0, xmmword [str.jd_bj]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x140114d58]
movups xmmword [rsp + 0x70], xmm1
movsd xmm0, qword [0x140114d68]
movsd qword [rbp - 0x80], xmm0
movzx eax, word [0x140114d70]
mov word [rbp - 0x78], ax
mov ecx, esi
cmp edi, 2
jl 0x14004a814
movdqa xmm4, xmmword [0x140120130]
movdqa xmm3, xmmword [0x140120530]
movdqa xmm5, xmmword [0x140120160]
movdqa xmm0, xmmword [0x140120240]
movdqa xmmword [rbp - 0x60], xmm0
lea rdx, [rsp + 0x64]
mov r8d, dword [rbp - 0x60]
nop dword [rax]
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
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, 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
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, 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 0x14004a730
cmp ecx, 0x2a
jge 0x14004a84c
movsxd rax, ecx
lea r8, [rsp + 0x60]
add r8, rax
nop
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x2a
jl 0x14004a820
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.14004c610
lea rdx, [rbp]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.14004c800
lea rdx, [rbp]
lea rcx, [rsp + 0x60]
call fcn.140005a30
mov rdx, rax
lea rcx, [0x14013b310]
call fcn.1400a4800
cmp byte [0x14013b520], 0
jne 0x14004a8fe
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.14004ad80
movzx edx, byte [rax + 8]
test dl, dl
je 0x14004a8d0
xor byte [rax], 0x31
xor byte [rax + 1], 0x32
xor byte [rax + 2], 0x33
xor byte [rax + 3], 0x34
xor byte [rax + 4], 0x35
xor byte [rax + 5], 0x36
xor byte [rax + 6], 0x37
xor byte [rax + 7], 0x38
xor dl, 0x39
mov byte [rax + 8], dl
mov rdx, rax
call fcn.14004c610
mov rcx, rax
lea rdx, [0x14013b528]
call fcn.14004c7e0
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 0x14004a980
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rbp + 0x20]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14004a931
mov r8, rbx
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x60]
call fcn.14004cb20
nop
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rdx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x50]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x60]
cmova rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.14004c2f0
nop
lea rcx, [rbp - 0x60]
call fcn.14004bfe0
jmp 0x14004a9a0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
xor r8d, r8d
lea rdx, [0x14010ab08]
lea rcx, [rbp - 0x40]
call fcn.1400027e0
nop
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 9
jb 0x14004ad1f
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r9, qword [rbp - 0x40]
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.14004d350
nop
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rax, qword [rsp + 0x40]
mov qword [rbp - 0x60], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x58], rax
call fcn.1400f57e0
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140049870
nop
mov qword [rbp - 0x70], rsi
lea r15, [0x140139260]
mov qword [rbp - 0x68], r15
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x60]
call fcn.140049fa0
movzx edi, al
cmp dword [rbp - 0x70], 0
jne 0x14004ad25
lea rcx, [rsp + 0x60]
call fcn.14004bfe0
nop
lea rcx, [rsp + 0x40]
call fcn.140005e60
test dil, dil
jne 0x14004ab2d
mov rax, rbx
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 9
jb 0x14004ad3b
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r9, qword [rbp - 0x40]
mov qword [rsp + 0x30], 9
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.14004d350
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x60], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x58], rax
call fcn.1400f57e0
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140049870
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.1400f5a40
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14004ad41
lea rcx, [rsp + 0x40]
call fcn.14004bfe0
nop
lea rcx, [rsp + 0x60]
call fcn.140005e60
mov rax, rbx
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 0x11
jb 0x14004ad57
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r9, qword [rbp - 0x40]
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.14004d350
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x60], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x58], rax
call fcn.1400f57e0
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140049870
nop
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], r15
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.140049fa0
movzx edi, al
cmp dword [rbp - 0x70], 0
jne 0x14004ad5d
lea rcx, [rsp + 0x40]
call fcn.14004bfe0
nop
lea rcx, [rsp + 0x60]
call fcn.140005e60
test dil, dil
jne 0x14004aca2
mov rax, qword [rbp - 0x30]
sub rbx, rax
cmp rbx, 0x11
jb 0x14004ad73
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r9, qword [rbp - 0x40]
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.14004d350
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x60], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x58], rax
call fcn.1400f57e0
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140049870
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.1400f5a40
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14004ad09
lea rcx, [rsp + 0x40]
call fcn.14004bfe0
nop
lea rcx, [rsp + 0x60]
call fcn.140005e60
call fcn.140053d80
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
nop
lea rcx, [rbp - 0x40]
call fcn.140005e60
nop
lea rcx, [rbp]
call fcn.140005e60
nop
lea rcx, [rbp - 0x20]
call fcn.140005e60
xor eax, eax
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1400f6350
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, str.create_directory
call fcn.140049ed0
nop
call fcn.140002760
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x70]
lea rcx, str.exists
call fcn.140049f40
nop
call fcn.140002760
nop
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, str.create_directory
call fcn.140049ed0
nop
call fcn.140002760
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x70]
lea rcx, str.exists
call fcn.140049f40
nop
call fcn.140002760
int3