Function at 0x140022130
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x14009e080]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, r8
mov qword [rbp - 0x38], r8
mov r12, rdx
mov rbx, rcx
mov qword [rbp + 0x30], rcx
mov qword [rsp + 0x78], rdx
mov qword [rbp + 0xf8], r8
xor esi, esi
mov dword [rbp - 0x60], esi
cmp byte [0x14009eac8], sil
jne 0x1400221b7
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rsi
lea r8d, [rsi + 0x52]
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rbp - 0x58]
call fcn.14000a5a0
lea rcx, [rbp - 0x58]
call fcn.140023270
mov dword [rsp + 0x38], 0xecf6ef59
mov dword [rsp + 0x3c], 0xe2ecf6e6
mov word [rsp + 0x40], 0xba
mov byte [rsp + 0x42], 1
mov rcx, rsi
nop word [rax + rax]
lea eax, [rcx + 0x7f]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 9
jb 0x1400221e0
mov byte [rsp + 0x42], 0
mov dword [rsp + 0x78], 0xefe0ee59
mov dword [rsp + 0x7c], 0x100b9e6
mov dword [rbp - 0x80], 0xf1e4f359
mov dword [rbp - 0x7c], 0xe8eaedf0
mov dword [rbp - 0x78], 0xb4ecee
mov byte [rbp - 0x74], 1
mov dword [rsp + 0x48], 0xeee8e659
mov dword [rsp + 0x4c], 0xbbe1ede6
mov word [rsp + 0x50], 0x100
mov dword [rsp + 0x68], 0xe7f1f90b
mov dword [rsp + 0x6c], 0xeaece2be
mov word [rsp + 0x70], 0xe2
mov byte [rsp + 0x72], 1
mov rcx, rsi
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 0x7f]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x140022260
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x10]
call fcn.14000e170
nop
cmp byte [rsp + 0x72], 0
je 0x1400222b5
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx + 0x7f]
xor byte [rsp + rcx + 0x68], al
inc rcx
cmp rcx, 9
jb 0x1400222a0
mov byte [rsp + 0x72], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x71]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0xb8]
call fcn.14000e170
nop
lea r9, [rbp - 0x10]
lea r8, [rbp + 0xb8]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.14001d350
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0x10
jb 0x140022330
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002232a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002232a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c00c
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x14002236f
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022369
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022369
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c00c
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14002237c
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x30]
call fcn.140009490
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x98], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x78]
call fcn.140017b70
nop
lea rdx, [rbx + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400223d7
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140009490
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x120], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x58]
call fcn.1400177b0
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140022426
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140009490
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rsp + 0x38]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140022470
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x58]
call fcn.140009490
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbx + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400224c7
mov rdx, qword [rdx]
lea rcx, [rbp + 0x10]
call fcn.140009490
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x170], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x180], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140022532
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002252d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002252d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c00c
movdqa xmm0, xmmword [0x14008fef0]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140022581
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002257c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002257c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c00c
movdqa xmm0, xmmword [0x14008fef0]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x1400225d0
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400225cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400225cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c00c
movdqa xmm0, xmmword [0x14008fef0]
movdqu xmmword [rbp + 0x68], xmm0
mov byte [rbp + 0x58], 0
mov rdx, qword [rbp + 0x128]
cmp rdx, 0x10
jb 0x140022626
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022620
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022620
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c00c
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x140022667
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022662
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022662
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c00c
movdqa xmm0, xmmword [0x14008fef0]
movdqu xmmword [rbp + 0x88], xmm0
mov byte [rbp + 0x78], 0
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0x10
jb 0x1400226c0
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400226ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400226ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c00c
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1400226fe
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400226f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400226f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c00c
movdqa xmm0, xmmword [0x14008fef0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
lea rax, [rbp - 0x10]
mov qword [rsp + 0x58], rax
lea rdx, [rbx + 0x80]
lea rcx, [rbp - 0x10]
call fcn.140008530
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x120], rsi
mov qword [rbp + 0x128], rsi
lea rsi, [rbp + 0x170]
mov r13, qword [rbp + 0x188]
cmp r13, 0x10
cmovae rsi, qword [rbp + 0x170]
movabs r15, 0x7fffffffffffffff
mov rdi, qword [rbp + 0x180]
cmp rdi, r15
ja 0x140022e58
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov qword [rbp + 0x128], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x1400227a0
mov qword [rbp + 0x120], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0x110], xmm0
jmp 0x1400227fb
mov rbx, rdi
or rbx, 0xf
cmp rbx, r15
jbe 0x1400227b1
mov rbx, r15
jmp 0x1400227b8
cmp rbx, rax
cmovb rbx, rax
mov rdx, rbx
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp + 0x110]
call fcn.140014fc0
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x120], rdi
mov qword [rbp + 0x128], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
mov r8, r14
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x130]
call fcn.140029aa0
nop
xor r14d, r14d
mov qword [rbp + 0xf0], r14
mov byte [rsp + 0x20], r14b
mov r9b, 1
lea r8, [rbp + 0xb8]
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x100]
call fcn.14001a960
nop
mov dword [rsp + 0x58], 0xf1f2e512
mov dword [rsp + 0x5c], 0xe0e3e2
mov byte [rsp + 0x60], 1
mov ecx, r14d
nop word [rax + rax]
lea eax, [rcx + 0x7f]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 7
jb 0x140022860
mov byte [rsp + 0x60], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x5f]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x30]
call fcn.14000e170
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0x100]
test cl, cl
jne 0x1400228ba
mov byte [rbp + 0x100], 1
call fcn.14000a0f0
mov qword [rbp + 0x108], rax
movzx ecx, byte [rbp + 0x100]
jmp 0x1400228c1
mov rax, qword [rbp + 0x108]
cmp cl, 1
jne 0x1400228d5
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.14001e3d0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
movdqa xmm1, xmmword [0x14008fef0]
movdqu xmmword [rbp + 0x160], xmm1
mov byte [rbp + 0x150], 0
mov dword [rbp - 0x60], 0x2ffe
cmp byte [rbx], 3
jne 0x140022914
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x150]
cmp rax, rdx
je 0x140022932
jmp 0x140022917
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140022925
mov rdx, qword [rdx]
lea rcx, [rbp + 0x150]
call fcn.140016a40
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140022970
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002296b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002296b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c00c
movdqa xmm0, xmmword [0x14008fef0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x80]
call fcn.14001d040
mov rdx, rax
mov rcx, qword [rbp + 0x30]
call fcn.140027150
mov dword [rsp + 0x38], 0xe1e2f50c
mov dword [rsp + 0x3c], 0xf6f7e6
mov byte [rsp + 0x40], 1
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx + 0x7f]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x1400229c0
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.14000e170
nop
cmp byte [rbp + 0x100], 0
jne 0x140022a0c
mov byte [rbp + 0x100], 1
call fcn.14000a0f0
mov qword [rbp + 0x108], rax
jmp 0x140022a13
mov rax, qword [rbp + 0x108]
cmp byte [rbp + 0x100], 1
jne 0x140022a2d
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.14001e3d0
mov rcx, rax
jmp 0x140022a32
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r14
movzx ebx, byte [rax]
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x140022a7e
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022a79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022a79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c00c
test bl, bl
je 0x140022d7e
mov dword [rsp + 0x48], 0xf6efef1c
mov dword [rsp + 0x4c], 0xf5f1eae6
mov word [rsp + 0x50], 0x100
mov rcx, r14
lea eax, [rcx + 0x7f]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x140022aa0
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x58]
call fcn.14000e170
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0x100]
test cl, cl
jne 0x140022afa
mov byte [rbp + 0x100], 1
call fcn.14000a0f0
mov qword [rbp + 0x108], rax
movzx ecx, byte [rbp + 0x100]
jmp 0x140022b01
mov rax, qword [rbp + 0x108]
cmp cl, 1
jne 0x140022b15
lea rdx, [rbp - 0x58]
mov rcx, rax
call fcn.14001e3d0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
movdqa xmm1, xmmword [0x14008fef0]
movdqu xmmword [rbp + 0x48], xmm1
mov byte [rbp + 0x38], 0
mov dword [rbp - 0x60], 0xbdffe
cmp byte [rbx], 3
jne 0x140022b48
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0x38]
cmp rax, rdx
je 0x140022b63
jmp 0x140022b4b
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140022b59
mov rdx, qword [rdx]
lea rcx, [rbp + 0x38]
call fcn.140016a40
nop
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x110]
call fcn.140024560
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x140022bb3
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022bad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022bad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c00c
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140022bf1
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022bec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022bec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c00c
movdqa xmm0, xmmword [0x14008fef0]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
mov rbx, qword [rbp + 0x120]
lea rdi, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae rdi, qword [rbp + 0x110]
cmp rbx, r15
ja 0x140022e52
cmp rbx, 0x10
jae 0x140022c54
mov qword [rbp - 0x70], rbx
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x68], rdx
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x80], xmm0
jmp 0x140022cb6
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov rax, rbx
or rax, 0xf
cmp rax, r15
ja 0x140022c78
mov r15, rax
cmp rax, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb r15, rax
mov rdx, r15
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140014fc0
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], r15
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
lea rdi, [rbp - 0x80]
cmp rdx, 0x10
cmovae rdi, qword [rbp - 0x80]
add rdi, rbx
lea rsi, [rbp - 0x80]
cmp rdx, 0x10
cmovae rsi, qword [rbp - 0x80]
mov qword [r12], r14
mov qword [r12 + 8], r14
mov qword [r12 + 0x10], r14
sub rdi, rsi
je 0x140022d15
mov rdx, rdi
mov rcx, r12
call fcn.1400169b0
mov rbx, qword [r12]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rdi]
mov qword [r12 + 8], rax
lea rcx, [rbp - 0x80]
call fcn.140008490
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0x10
jb 0x140022d63
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022d5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022d5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c00c
mov qword [rbp + 0x120], r14
mov qword [rbp + 0x128], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x110], 0
jmp 0x140022d8c
mov qword [r12], r14
mov qword [r12 + 8], r14
mov qword [r12 + 0x10], r14
mov r8, qword [rbp + 0x168]
cmp r8, 0x10
jb 0x140022db0
inc r8
mov rdx, qword [rbp + 0x150]
lea rcx, [rbp + 0x150]
call fcn.140009780
nop
movzx edx, byte [rbp + 0x100]
lea rcx, [rbp + 0x108]
call fcn.140021bc0
nop
mov r8, qword [rbp + 0x148]
cmp r8, 0x10
jb 0x140022de7
inc r8
mov rdx, qword [rbp + 0x130]
lea rcx, [rbp + 0x130]
call fcn.140009780
movdqa xmm0, xmmword [0x14008fef0]
mov byte [rbp + 0x130], 0
movdqu xmmword [rbp + 0x140], xmm0
cmp r13, 0x10
jb 0x140022e1c
lea r8, [r13 + 1]
mov rdx, qword [rbp + 0x170]
lea rcx, [rbp + 0x170]
call fcn.140009780
nop
mov rcx, qword [rbp - 0x38]
call fcn.140008490
mov rax, r12
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14007bd70
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001990
nop
call fcn.140001990
int3