Function at 0x14004a1d0
Capabilities:
Create thread
Encode data using xor
Get common file path
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 - 0x238]
sub rsp, 0x330
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x14015d080]
xor rax, rsp
mov qword [rbp + 0x200], rax
xor ebx, ebx
mov qword [str.g__An], rbx
mov dword [0x1401e1908], ebx
mov word [0x1401e190c], bx
mov byte [0x1401e190e], bl
mov qword [0x1401e18d0], rbx
mov word [0x1401e18d8], bx
mov byte [reloc.WLDAP32.dll_Ordinal_60], bl
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1401e1910], xmm0
movups xmmword [0x1401e1920], xmm0
movups xmmword [0x1401e1930], xmm0
movups xmmword [0x1401e1940], xmm0
mov byte [0x1401e1950], al
mov dword [0x1401e18cc], eax
movups xmmword [str.ZG_EE_r], xmm0
mov qword [0x1401e18f0], rax
mov dword [0x1401e18f8], eax
mov byte [0x1401e18fc], al
mov ecx, 8
call fcn.140117418
lea rcx, [0x140049fa0]
mov qword [rax], rcx
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14004dab0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x20], rax
test rax, rax
je 0x14004ab6f
cmp dword [rbp - 0x18], ebx
je 0x14004ab63
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004ab63
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rdi, rax
mov edx, 0xffffffec
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
bts rax, 0x13
mov r8, rax
mov edx, 0xffffffec
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov r9d, 2
mov r8b, 0xe5
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdi, rax
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x14013cda4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004c5a0
mov edx, 7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.Loading_External..
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004c5a0
lea rdx, [0x1400633d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [0x1401e39f0]
call fcn.1400c64b0
cmp byte [0x1401e3c00], bl
jne 0x14004a55f
mov r10, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x40]
call fcn.14004ac20
mov r9, rax
cmp byte [rax + 0x12], bl
je 0x14004a52e
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14004a4f4
movdqa xmm5, xmmword [0x140142370]
movdqa xmm4, xmmword [0x140142840]
movdqa xmm6, xmmword [0x1401423a0]
movdqa xmm0, xmmword [0x140142480]
movdqa xmmword [rbp - 0x80], xmm0
mov rcx, rax
movdqa xmm7, xmmword [0x140142400]
mov edx, dword [rbp - 0x80]
nop dword [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, xmm6
psubd xmm2, xmm0
andps xmm2, xmm7
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, xmm6
psubd xmm3, xmm0
andps xmm3, xmm7
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 0x14004a410
cmp eax, 0x13
jge 0x14004a52e
movsxd r8, ebx
add r8, r9
nop word [rax + rax]
mov eax, 0x51eb851f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x32
add dl, bl
xor byte [r8], dl
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x13
jl 0x14004a500
mov rdx, r9
mov rcx, r10
call fcn.14004c5a0
mov rcx, rax
lea rdx, [0x1401e3c08]
call fcn.14004c770
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 0x14004a5ed
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14004a5a0
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x80]
call fcn.14004c8a0
nop
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
mov rax, qword [rbp - 0x70]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x80]
cmova rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.14004c390
nop
lea rcx, [rbp - 0x80]
call fcn.14004c100
jmp 0x14004a60d
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
xor r8d, r8d
lea rdx, [0x14012b958]
lea rcx, [rbp - 0x60]
call fcn.1400022b0
nop
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
mov rcx, qword [rbp - 0x50]
sub rax, rcx
cmp rax, 6
jb 0x14004abd4
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r9, qword [rbp - 0x60]
mov qword [rsp + 0x30], 6
lea r14, str.unitx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.14004d080
nop
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rax, qword [rsp + 0x40]
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x78], rax
call fcn.140116764
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140049470
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.140049ba0
movsd xmm0, qword [rax]
movsd qword [rbp - 0x40], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x80], ecx
lea rsi, [0x14015d260]
mov qword [rbp - 0x78], rsi
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
mov eax, dword [rbp - 0x40]
test eax, eax
je 0x14004aafb
cmp eax, 1
sete dil
lea rcx, [rsp + 0x60]
call fcn.14004c100
nop
lea rcx, [rsp + 0x40]
call fcn.140005930
test dil, dil
je 0x14004a7b0
mov rax, rbx
mov rcx, qword [rbp - 0x50]
sub rax, rcx
cmp rax, 6
jb 0x14004abda
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r9, qword [rbp - 0x60]
mov qword [rsp + 0x30], 6
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.14004d080
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x78], rax
call fcn.140116764
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140049470
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.1401169c4
shr rax, 0x20
test eax, eax
jne 0x14004abe0
lea rcx, [rsp + 0x40]
call fcn.14004c100
nop
lea rcx, [rsp + 0x60]
call fcn.140005930
mov rax, rbx
mov rcx, qword [rbp - 0x50]
sub rax, rcx
cmp rax, 0xe
jb 0x14004abf4
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r9, qword [rbp - 0x60]
mov qword [rsp + 0x30], reloc.WS2_32.dll_ntohl
lea r14, str.unitxconfigs
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.14004d080
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x78], rax
call fcn.140116764
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140049470
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140049ba0
movsd xmm0, qword [rax]
movsd qword [rbp - 0x40], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x80], ecx
mov qword [rbp - 0x78], rsi
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
mov eax, dword [rbp - 0x40]
test eax, eax
je 0x14004ab0b
cmp eax, 1
sete dil
lea rcx, [rsp + 0x40]
call fcn.14004c100
nop
lea rcx, [rsp + 0x60]
call fcn.140005930
test dil, dil
je 0x14004a942
mov rax, rbx
mov rcx, qword [rbp - 0x50]
sub rax, rcx
cmp rax, 0xe
jb 0x14004abfa
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r9, qword [rbp - 0x60]
mov qword [rsp + 0x30], reloc.WS2_32.dll_ntohl
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.14004d080
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x78], rax
call fcn.140116764
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140049470
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.1401169c4
shr rax, 0x20
test eax, eax
jne 0x14004ac00
lea rcx, [rsp + 0x40]
call fcn.14004c100
nop
lea rcx, [rsp + 0x60]
call fcn.140005930
mov rax, rbx
mov rcx, qword [rbp - 0x50]
sub rax, rcx
cmp rax, 0xc
jb 0x14004ac14
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r9, qword [rbp - 0x60]
mov qword [rsp + 0x30], select
lea r14, str.unitx_fonts
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.14004d080
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x78], rax
call fcn.140116764
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140049470
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140049ba0
movsd xmm0, qword [rax]
movsd qword [rbp - 0x40], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x80], ecx
mov qword [rbp - 0x78], rsi
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
mov eax, dword [rbp - 0x40]
test eax, eax
je 0x14004ab1b
cmp eax, 1
sete dil
lea rcx, [rsp + 0x40]
call fcn.14004c100
nop
lea rcx, [rsp + 0x60]
call fcn.140005930
test dil, dil
je 0x14004aad1
mov rax, qword [rbp - 0x50]
sub rbx, rax
cmp rbx, 0xc
jb 0x14004ac1a
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r9, qword [rbp - 0x60]
mov qword [rsp + 0x30], select
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x60]
call fcn.14004d080
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x78], rax
call fcn.140116764
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140049470
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.1401169c4
shr rax, 0x20
test eax, eax
jne 0x14004ab7e
lea rcx, [rsp + 0x40]
call fcn.14004c100
nop
lea rcx, [rsp + 0x60]
call fcn.140005930
call fcn.140053e20
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 - 0x60]
call fcn.140005930
nop
cmp dword [rbp - 0x18], 0
je 0x14004ab2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dil, 1
test ecx, ecx
jne 0x14004ab92
jmp 0x14004a6de
mov dil, 1
test ecx, ecx
jne 0x14004aba8
jmp 0x14004a870
mov dil, 1
test ecx, ecx
jne 0x14004abbe
jmp 0x14004aa02
xor eax, eax
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1401172d0
lea r11, [rsp + 0x330]
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 ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x18], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, str.create_directory
call fcn.140049ad0
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x80]
lea rcx, str.exists
call fcn.140049b40
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
lea rcx, str.exists
call fcn.140049b40
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
lea rcx, str.exists
call fcn.140049b40
nop
call fcn.140002230
int3
call fcn.140002230
nop
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, str.create_directory
call fcn.140049ad0
nop
call fcn.140002230
int3
call fcn.140002230
nop
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, str.create_directory
call fcn.140049ad0
nop
call fcn.140002230
int3
call fcn.140002230
int3