Function at 0x14004c1e0
Capabilities:
Delete file
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
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x308]
sub rsp, 0x3f0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140180080]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
xor r14d, r14d
mov qword [0x140182b78], r14
mov dword [0x140182b80], r14d
mov word [0x140182b84], r14w
mov byte [0x140182b86], r14b
mov qword [0x1401828d0], r14
mov word [0x1401828d8], r14w
mov byte [0x1401828da], r14b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140182b90], xmm0
movups xmmword [0x140182ba0], xmm0
movups xmmword [0x140182bb0], xmm0
movups xmmword [0x140182bc0], xmm0
mov byte [0x140182bd0], al
mov dword [0x1401828c8], eax
movups xmmword [0x1401828e0], xmm0
mov qword [0x1401828f0], rax
mov dword [0x1401828f8], eax
mov byte [0x1401828fc], al
mov eax, dword [str._ZXRK9]
mov dword [rsp + 0x40], eax
movzx eax, word [0x140154ccc]
mov word [rsp + 0x44], ax
mov byte [rsp + 0x40], reloc.WS2_32.dll_WSACleanup
xor byte [rsp + 0x41], 0x35
xor byte [rsp + 0x42], 0x36
xor byte [rsp + 0x43], 0x37
xor al, 0x38
mov byte [rsp + 0x44], al
xor byte [rsp + 0x45], 0x39
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
lea rax, [rsp + 0x40]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp byte [rax + r8], r14b
jne 0x14004c2f0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xa0]
call fcn.1400027e0
nop
lea rcx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0xf
cmova rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, [0x140182900]
call fcn.1400e0670
cmp byte [0x140182b10], 0
jne 0x14004c3b0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp]
call fcn.14004d4a0
movzx edx, byte [rax + 0xa]
test dl, dl
je 0x14004c382
xor byte [rax], 0x34
xor byte [rax + 1], 0x35
xor byte [rax + 2], 0x36
xor byte [rax + 3], 0x37
xor byte [rax + 4], 0x38
xor byte [rax + 5], 0x39
xor byte [rax + 6], 0x3a
xor byte [rax + 7], 0x3b
xor byte [rax + 8], 0x3c
xor byte [rax + 9], 0x3d
xor dl, 0x3e
mov byte [rax + 0xa], dl
mov rdx, rax
call fcn.140050f40
mov rcx, rax
lea rdx, [0x140182b18]
call fcn.140051110
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 r15, str.tones.json
mov qword [rbp], r15
mov qword [rbp + 8], 0xa
call fcn.140133bd0
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp], xmm0
lea r8, [rbp]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.14004a330
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x20]
call fcn.14004aa60
movsd xmm0, qword [rax]
movsd qword [rbp], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0x20], ecx
lea r12, [0x1401802e0]
mov qword [rbp + 0x28], r12
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x20], xmm0
mov eax, dword [rbp]
test eax, eax
je 0x14004c5aa
cmp eax, 1
setne bl
lea rcx, [rsp + 0x48]
call fcn.1400501b0
xorps xmm0, xmm0
test bl, bl
je 0x14004ca96
lea rax, [rbp + 0x40]
mov qword [rsp + 0x40], rax
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], r14
mov r8d, 8
lea rdx, str.username
lea rcx, [rbp + 0x40]
call fcn.1400027e0
nop
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
mov r8d, 0xa
mov rdx, r15
lea rcx, [rbp]
call fcn.1400027e0
nop
lea rdx, [rbp + 0x40]
lea rcx, [rbp]
call fcn.14004bae0
xorps xmm0, xmm0
test al, al
jne 0x14004c755
lea rax, [rbp + 0x40]
mov qword [rsp + 0x68], rax
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], r14
mov r8d, 7
lea rdx, str.license
lea rcx, [rbp + 0x40]
call fcn.1400027e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov r8d, 0xa
mov rdx, r15
lea rcx, [rsp + 0x70]
call fcn.1400027e0
nop
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x60]
call fcn.14004b680
nop
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.140005c20
mov rdx, rax
lea rcx, [0x140182900]
call fcn.1400e1d60
cmp byte [0x140182b10], 0
jne 0x14004c5b9
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp]
call fcn.14004d4a0
movzx edx, byte [rax + 0xa]
test dl, dl
je 0x14004c57c
xor byte [rax], 0x34
xor byte [rax + 1], 0x35
xor byte [rax + 2], 0x36
xor byte [rax + 3], 0x37
xor byte [rax + 4], 0x38
xor byte [rax + 5], 0x39
xor byte [rax + 6], 0x3a
xor byte [rax + 7], 0x3b
xor byte [rax + 8], 0x3c
xor byte [rax + 9], 0x3d
xor dl, 0x3e
mov byte [rax + 0xa], dl
mov rdx, rax
call fcn.140050f40
mov rcx, rax
lea rdx, [0x140182b18]
call fcn.140051110
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]
nop
xor bl, bl
test ecx, ecx
jne 0x14004d431
jmp 0x14004c424
movups xmm0, xmmword [0x140154d30]
movups xmmword [rbp + 0x20], xmm0
movsd xmm0, qword [0x140154d40]
movsd qword [rbp + 0x30], xmm0
cmp byte [0x140154d47], 0
je 0x14004c73f
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14004c704
movdqa xmm4, xmmword [0x140161500]
mov edx, r14d
movdqa xmm3, xmmword [0x1401615e0]
movdqa xmm5, xmmword [0x140161530]
movdqa xmm0, xmmword [0x140161640]
movdqa xmmword [rbp], xmm0
lea rcx, [rbp + 0x24]
movdqa xmm6, xmmword [0x140161590]
mov r8d, dword [rbp]
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, 1
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, 1
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, 0x18
jl 0x14004c623
jmp 0x14004c73f
lea r9, [rbp + 0x20]
mov r8d, r14d
nop dword [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, r8b
sub al, dl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x18
jl 0x14004c710
lea rdx, [rbp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140050f40
nop
jmp 0x14004cfc3
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov r8d, 8
lea rdx, str.username
lea rcx, [rsp + 0x70]
call fcn.1400027e0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], r14
mov r8d, 0xa
mov rdx, r15
lea rcx, [rbp + 0x40]
call fcn.1400027e0
nop
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.14004b680
nop
lea rax, [rbp - 0x70]
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
mov r8d, 8
lea rdx, str.password
lea rcx, [rbp - 0x70]
call fcn.1400027e0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov r8d, 0xa
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.1400027e0
nop
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x60]
call fcn.14004b680
nop
lea rax, [rsp + 0x48]
mov qword [rsp + 0x68], rax
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140005c20
mov rbx, rax
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x70]
call fcn.140005c20
nop
mov r8, rbx
mov rdx, rax
lea rcx, [0x140182900]
call fcn.1400e32b0
cmp byte [0x140182b10], 0
jne 0x14004c8e3
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp]
call fcn.14004d4a0
movzx edx, byte [rax + 0xa]
test dl, dl
je 0x14004c8b5
xor byte [rax], 0x34
xor byte [rax + 1], 0x35
xor byte [rax + 2], 0x36
xor byte [rax + 3], 0x37
xor byte [rax + 4], 0x38
xor byte [rax + 5], 0x39
xor byte [rax + 6], 0x3a
xor byte [rax + 7], 0x3b
xor byte [rax + 8], 0x3c
xor byte [rax + 9], 0x3d
xor dl, 0x3e
mov byte [rax + 0xa], dl
mov rdx, rax
call fcn.140050f40
mov rcx, rax
lea rdx, [0x140182b18]
call fcn.140051110
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
movups xmm0, xmmword [0x140154d30]
movups xmmword [rbp + 0x20], xmm0
movsd xmm0, qword [0x140154d40]
movsd qword [rbp + 0x30], xmm0
cmp byte [0x140154d47], 0
je 0x14004ca6f
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14004ca31
movdqa xmm4, xmmword [0x140161500]
mov edx, r14d
movdqa xmm3, xmmword [0x1401615e0]
movdqa xmm5, xmmword [0x140161530]
movdqa xmm0, xmmword [0x140161640]
movdqa xmmword [rbp], xmm0
lea rcx, [rbp + 0x24]
movdqa xmm6, xmmword [0x140161590]
mov r8d, dword [rbp]
nop dword [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, 1
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, 1
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, 0x18
jl 0x14004c950
jmp 0x14004ca6f
lea r9, [rbp + 0x20]
mov r8d, r14d
nop dword [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, r8b
sub al, dl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x18
jl 0x14004ca40
lea rdx, [rbp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140050f40
nop
lea rcx, [rbp + 0x60]
call fcn.140006050
nop
lea rcx, [rbp + 0x80]
jmp 0x14004cfc7
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x60], 0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r14
mov qword [rbp + 0x98], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x80], 0
movups xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x1401614c0]
movdqu xmmword [rbp + 0x50], xmm1
mov byte [rbp + 0x40], 0
movups xmm0, xmmword [str._ZXRK]
movups xmmword [rbp + 0x20], xmm0
movsd xmm0, qword [0x140155670]
movsd qword [rbp + 0x30], xmm0
movdqa xmm6, xmmword [0x140161590]
mov esi, dword [reloc.WS2_32.dll_accept]
cmp byte [0x140155677], 0
je 0x14004cc6f
cmp esi, 2
jl 0x14004cc31
movdqa xmm4, xmmword [0x140161500]
mov edx, r14d
movdqa xmm3, xmmword [0x1401615e0]
movdqa xmm5, xmmword [0x140161530]
movdqa xmm0, xmmword [0x140161640]
movdqa xmmword [rbp], xmm0
lea rcx, [rbp + 0x24]
mov r8d, dword [rbp]
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, 1
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, 1
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, 0x18
jl 0x14004cb50
jmp 0x14004cc6f
lea r9, [rbp + 0x20]
mov r8d, r14d
nop dword [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, r8b
sub al, dl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x18
jl 0x14004cc40
lea rdx, [rbp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140050f40
lea rdx, [rbp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140051130
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140005c20
mov rdx, rax
lea rcx, [0x140182900]
call fcn.1400e1d60
cmp byte [0x140182b10], 0
jne 0x14004cd28
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp]
call fcn.14004d4a0
movzx edx, byte [rax + 0xa]
test dl, dl
je 0x14004ccfa
xor byte [rax], 0x34
xor byte [rax + 1], 0x35
xor byte [rax + 2], 0x36
xor byte [rax + 3], 0x37
xor byte [rax + 4], 0x38
xor byte [rax + 5], 0x39
xor byte [rax + 6], 0x3a
xor byte [rax + 7], 0x3b
xor byte [rax + 8], 0x3c
xor byte [rax + 9], 0x3d
xor dl, 0x3e
mov byte [rax + 0xa], dl
mov rdx, rax
call fcn.140050f40
mov rcx, rax
lea rdx, [0x140182b18]
call fcn.140051110
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 - 0x50]
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
xor r8d, r8d
lea rdx, [0x14014ab58]
lea rcx, [rbp - 0x50]
call fcn.1400027e0
nop
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
xor r8d, r8d
lea rdx, [0x14014ab58]
lea rcx, [rbp - 0x70]
call fcn.1400027e0
nop
lea rax, [rbp - 0x30]
mov qword [rbp - 8], rax
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.140005c20
mov rbx, rax
lea rax, [rsp + 0x70]
mov qword [rbp + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov r8d, 7
lea rdx, str.license
lea rcx, [rsp + 0x70]
call fcn.1400027e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov r8d, 0xa
mov rdx, r15
lea rcx, [rsp + 0x48]
call fcn.1400027e0
nop
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14004bd60
movups xmm0, xmmword [0x140154cd0]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [0x140154ce0]
movups xmmword [rbp - 0x20], xmm1
mov eax, dword [0x140154cf0]
mov dword [rbp - 0x10], eax
movzx eax, byte [0x140154cf4]
mov byte [rbp - 0xc], al
mov ecx, r14d
cmp esi, 2
jl 0x14004cf64
movdqa xmm4, xmmword [0x140161500]
movdqa xmm3, xmmword [0x1401615e0]
movdqa xmm5, xmmword [0x140161530]
movdqa xmm0, xmmword [0x140161640]
movdqa xmmword [rbp], xmm0
lea rdx, [rbp - 0x2c]
mov r8d, dword [rbp]
nop dword [rax + 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, 1
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, 1
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, 0x20
jl 0x14004ce80
cmp ecx, 0x25
jge 0x14004cf9b
movsxd rax, ecx
lea r8, [rbp - 0x30]
add r8, rax
nop
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x25
jl 0x14004cf70
lea rdx, [rbp - 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140050f40
nop
lea rcx, [rbp + 0x40]
call fcn.140006050
nop
lea rcx, [rbp + 0x80]
call fcn.140006050
nop
lea rcx, [rbp + 0x60]
call fcn.140006050
lea rax, [rbp + 0xc0]
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 0x14004d057
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
lea rax, [rbp + 0xc0]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14004d005
mov r8, rdi
lea rdx, [rbp + 0xc0]
lea rcx, [rbp]
call fcn.1400516f0
nop
lea rdx, [rbp]
cmp qword [rbp + 0x18], 7
cmova rdx, qword [rbp]
mov rax, qword [rbp + 0x10]
lea r8, [rdx + rax*2]
lea rdx, [rbp]
cmova rdx, qword [rbp]
lea rcx, [rbp + 0x40]
call fcn.140050a90
nop
lea rcx, [rbp]
call fcn.1400501b0
jmp 0x14004d077
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], r14
xor r8d, r8d
lea rdx, [0x14014ab58]
lea rcx, [rbp + 0x40]
call fcn.1400027e0
nop
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
mov rcx, qword [rbp + 0x50]
sub rax, rcx
cmp rax, 6
jb 0x14004d471
lea r9, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova r9, qword [rbp + 0x40]
mov qword [rsp + 0x30], 6
lea rsi, str._tones
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x48]
call fcn.1400530a0
nop
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rax, qword [rsp + 0x48]
mov qword [rbp], rax
mov rax, qword [rsp + 0x58]
mov qword [rbp + 8], rax
call fcn.140133bd0
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp], xmm0
lea r8, [rbp]
mov edx, eax
lea rcx, [rbp + 0x60]
call fcn.14004a330
nop
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.14004aa60
movsd xmm0, qword [rax]
movsd qword [rbp], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0x20], ecx
mov qword [rbp + 0x28], r12
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x20], xmm0
mov eax, dword [rbp]
test eax, eax
je 0x14004d404
cmp eax, 1
sete dil
lea rcx, [rbp + 0x60]
call fcn.1400501b0
nop
lea rcx, [rsp + 0x48]
call fcn.140006050
test dil, dil
je 0x14004d20e
mov rax, rbx
mov rcx, qword [rbp + 0x50]
sub rax, rcx
cmp rax, 6
jb 0x14004d477
lea r9, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova r9, qword [rbp + 0x40]
mov qword [rsp + 0x30], 6
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x48]
call fcn.1400530a0
nop
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rax, qword [rsp + 0x48]
mov qword [rbp], rax
mov rax, qword [rsp + 0x58]
mov qword [rbp + 8], rax
call fcn.140133bd0
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp], xmm0
lea r8, [rbp]
mov edx, eax
lea rcx, [rbp + 0x20]
call fcn.14004a330
nop
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova rcx, qword [rbp + 0x20]
call fcn.140133e30
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14004d47d
lea rcx, [rbp + 0x20]
call fcn.1400501b0
nop
lea rcx, [rsp + 0x48]
call fcn.140006050
mov rax, rbx
mov rcx, qword [rbp + 0x50]
sub rax, rcx
cmp rax, 0xe
jb 0x14004d492
lea r9, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova r9, qword [rbp + 0x40]
mov qword [rsp + 0x30], reloc.WS2_32.dll_ntohl
lea rsi, str._tonesconfigs
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x48]
call fcn.1400530a0
nop
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rax, qword [rsp + 0x48]
mov qword [rbp], rax
mov rax, qword [rsp + 0x58]
mov qword [rbp + 8], rax
call fcn.140133bd0
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp], xmm0
lea r8, [rbp]
mov edx, eax
lea rcx, [rbp + 0x60]
call fcn.14004a330
nop
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.14004aa60
movsd xmm0, qword [rax]
movsd qword [rbp], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0x20], ecx
mov qword [rbp + 0x28], r12
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x20], xmm0
mov eax, dword [rbp]
test eax, eax
je 0x14004d410
cmp eax, 1
sete dil
lea rcx, [rbp + 0x60]
call fcn.1400501b0
nop
lea rcx, [rsp + 0x48]
call fcn.140006050
test dil, dil
je 0x14004d398
mov rax, qword [rbp + 0x50]
sub rbx, rax
cmp rbx, 0xe
jb 0x14004d498
lea r9, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova r9, qword [rbp + 0x40]
mov qword [rsp + 0x30], reloc.WS2_32.dll_ntohl
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x48]
call fcn.1400530a0
nop
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rax, qword [rsp + 0x48]
mov qword [rbp], rax
mov rax, qword [rsp + 0x58]
mov qword [rbp + 8], rax
call fcn.140133bd0
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp], xmm0
lea r8, [rbp]
mov edx, eax
lea rcx, [rbp + 0x20]
call fcn.14004a330
nop
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova rcx, qword [rbp + 0x20]
call fcn.140133e30
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14004d41c
lea rcx, [rbp + 0x20]
call fcn.1400501b0
nop
lea rcx, [rsp + 0x48]
call fcn.140006050
call fcn.140061800
lea rcx, str.tones___press_enter_to_close_console__closes_cheat_
call fcn.140049af0
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 + 0x40]
call fcn.140006050
nop
lea rcx, [rbp + 0xa0]
call fcn.140006050
xor eax, eax
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.140134740
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov dil, 1
test ecx, ecx
jne 0x14004d447
jmp 0x14004d13f
mov dil, 1
test ecx, ecx
jne 0x14004d45c
jmp 0x14004d2cc
shr rdx, 0x20
lea r8, [rbp + 0x20]
lea rcx, str.create_directory
call fcn.14004a990
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x20]
lea rcx, str.exists
call fcn.14004aa00
nop
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x20]
lea rcx, str.exists
call fcn.14004aa00
nop
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x20]
lea rcx, str.exists
call fcn.14004aa00
nop
call fcn.140002760
int3
call fcn.140002760
nop
shr rdx, 0x20
lea r8, [rbp + 0x20]
lea rcx, str.create_directory
call fcn.14004a990
nop
call fcn.140002760
int3
call fcn.140002760
int3