Function at 0x140084060
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140118080]
xor rax, rsp
mov qword [rbp + 0xa8], rax
mov rdi, rcx
xor r15d, r15d
cmp byte [0x140188168], r15b
jne 0x1400840d2
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
lea r8d, [r15 + 0x52]
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rsp + 0x70]
call fcn.140042b10
lea rcx, [rsp + 0x70]
call fcn.14007f5c0
mov dword [rsp + 0x60], 0xf7eff8b0
mov dword [rsp + 0x64], 0xf9f5e9ff
mov word [rsp + 0x68], 0xa3
mov byte [rsp + 0x6a], 1
mov dword [rsp + 0x58], 0xf4f9f9b0
mov dword [rsp + 0x5c], 0x100a6ff
mov dword [rsp + 0x70], 0xeafde4b0
mov dword [rsp + 0x74], 0xf3f3f2e9
mov dword [rsp + 0x78], 0x9dfbf7
mov byte [rsp + 0x7c], 1
mov dword [rsp + 0x48], 0xfce8eee2
mov dword [rsp + 0x4c], 0xfaf3f7a7
mov dword [rsp + 0x50], 0xd4eaf1
mov byte [rsp + 0x54], 1
mov rcx, r15
nop dword [rax + rax]
lea eax, [rcx - 0x6a]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 0xb
jb 0x140084140
mov byte [rsp + 0x7c], r15b
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x7b]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.140043100
nop
cmp byte [rsp + 0x54], 0
je 0x140084195
mov rcx, r15
nop dword [rax + rax]
lea eax, [rcx - 0x6a]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0xb
jb 0x140084180
mov byte [rsp + 0x54], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x53]
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x68]
call fcn.140043100
nop
lea r9, [rbp - 0x70]
lea r8, [rbp + 0x68]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.140042db0
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 0xf
jbe 0x140084207
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084201
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084201
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d969c
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140084246
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084240
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084240
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d969c
nop
lea rsi, [rdi + 0x258]
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14008425a
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x30]
call fcn.140042290
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x18]
call fcn.140070aa0
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400842a5
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140042290
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.140070d40
nop
lea rdx, [rdi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400842f4
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140042290
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x78], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140084358
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084353
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084353
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d969c
movdqa xmm0, xmmword [0x140101ac0]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400843a8
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400843a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400843a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d969c
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x1400843e6
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400843e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400843e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d969c
movdqa xmm0, xmmword [0x140101ac0]
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140084436
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084430
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084430
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d969c
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140084474
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008446f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008446f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d969c
movdqa xmm0, xmmword [0x140101ac0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
lea rax, [rbp - 0x70]
mov qword [rbp + 0x10], rax
lea rdx, [rdi + 0x80]
lea rcx, [rbp - 0x70]
call fcn.140069460
mov rbx, rax
lea rdx, [rbp + 0x68]
lea rcx, [rbp - 0x50]
call fcn.140069460
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.140086b10
nop
mov qword [rbp + 0x50], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x18]
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x58]
call fcn.140074ef0
nop
mov dword [rsp + 0x38], 0xfafbe2e5
mov dword [rsp + 0x3c], 0xefe8ff
mov byte [rsp + 0x40], 1
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x6a]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x140084500
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x70]
call fcn.140043100
nop
movzx ecx, byte [rbp + 0x58]
test cl, cl
jne 0x140084549
mov byte [rbp + 0x58], 1
call fcn.140073560
mov qword [rbp + 0x60], rax
movzx ecx, byte [rbp + 0x58]
jmp 0x14008454d
mov rax, qword [rbp + 0x60]
cmp cl, 1
jne 0x140084563
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.1400789c0
mov rcx, rax
jmp 0x140084568
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r15
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400845b4
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400845af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400845af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d969c
test bl, bl
je 0x14008468f
lea rax, [rdi + 0x120]
mov qword [rax + 0x10], r15
cmp qword [rax + 0x18], 0xf
jbe 0x1400845d1
mov rax, qword [rax]
mov byte [rax], 0
lea rax, [rdi + 0xe0]
mov qword [rax + 0x10], r15
cmp qword [rax + 0x18], 0xf
jbe 0x1400845e9
mov rax, qword [rax]
mov byte [rax], 0
lea rax, [rdi + 0x100]
mov qword [rax + 0x10], r15
cmp qword [rax + 0x18], 0xf
jbe 0x140084601
mov rax, qword [rax]
mov byte [rax], 0
lea rax, [rdi + 0x140]
mov qword [rax + 0x10], r15
cmp qword [rax + 0x18], 0xf
jbe 0x140084619
mov rax, qword [rax]
mov byte [rax], 0
lea rax, [rdi + 0xc0]
mov qword [rax + 0x10], r15
cmp qword [rax + 0x18], 0xf
jbe 0x140084631
mov rax, qword [rax]
mov byte [rax], 0
mov rbx, qword [rdi + 0x160]
mov r14, qword [rdi + 0x168]
cmp rbx, r14
je 0x140084666
mov rcx, rbx
call fcn.14006e540
add rbx, 0x40
cmp rbx, r14
jne 0x140084647
mov rax, qword [rdi + 0x160]
mov qword [rdi + 0x168], rax
mov qword [rsi + 0x10], r15
cmp qword [rsi + 0x18], 0xf
jbe 0x140084674
mov rsi, qword [rsi]
mov byte [rsi], 0
lea rax, [rdi + 0x278]
mov qword [rax + 0x10], r15
cmp qword [rax + 0x18], 0xf
jbe 0x14008468c
mov rax, qword [rax]
mov byte [rax], 0
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.1400776d0
mov rdx, rax
mov rcx, rdi
call fcn.140082ca0
nop
movzx edx, byte [rbp + 0x58]
lea rcx, [rbp + 0x60]
call fcn.14007d8d0
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0xf
jbe 0x1400846fb
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400846f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400846f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d969c
movdqa xmm0, xmmword [0x140101ac0]
movdqu xmmword [rbp + 0x98], xmm0
mov byte [rbp + 0x88], 0
mov rdx, qword [rbp + 0x80]
cmp rdx, 0xf
jbe 0x140084753
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008474e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008474e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d969c
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.1400d8f70
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret