Function at 0x1400a1e00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1401150f0]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov r14, qword [0x140116e10]
xor ecx, ecx
mov rdi, qword [0x140116dd8]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov r15d, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov r12d, eax
test rdi, rdi
je 0x1400a289b
mov edx, dword [0x14011671c]
mov r8d, WSASetLastError
mov qword [rsp + 0x188], r13
movaps xmmword [rsp + 0x130], xmm7
movaps xmmword [rsp + 0x100], xmm10
movaps xmmword [rsp + 0xf0], xmm11
test edx, edx
je 0x1400a1ebe
sub edx, 1
je 0x1400a1eb8
sub edx, 1
je 0x1400a1eb0
cmp edx, 1
jne 0x1400a1ebe
lea r8d, [rdx + 1]
jmp 0x1400a1ebe
mov r8d, 7
jmp 0x1400a1ebe
mov r8d, 0x43
mov qword [rsp + 0x180], rsi
lea rcx, [rsp + 0x48]
movaps xmmword [rsp + 0x140], xmm6
mov rdx, rdi
movaps xmmword [rsp + 0x120], xmm8
movaps xmmword [rsp + 0x110], xmm9
call fcn.14002fff0
mov rcx, qword [0x140116e00]
xorps xmm0, xmm0
add rcx, 0xa80
movups xmmword [rsp + 0x60], xmm0
call fcn.1400a62f0
mov rbx, rax
lea rcx, [rax + 0x1a24]
call fcn.1400a6680
lea rcx, [rbx + 0x1df0]
movaps xmm11, xmm0
call fcn.1400a6680
xor r13d, r13d
movaps xmm10, xmm0
cmp byte [0x140116629], r13b
xorps xmm7, xmm7
je 0x1400a267f
xorps xmm9, xmm9
comiss xmm11, xmm9
jbe 0x1400a20e5
comiss xmm10, xmm9
jbe 0x1400a20e5
mov rcx, qword [0x140116e00]
add rcx, 0x328
call fcn.1400a62f0
lea r8d, [r13 + 0x6e]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14002fff0
movsd xmm0, qword [rbp - 0x80]
cvtpd2ps xmm0, xmm0
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__isnanf]
test eax, eax
jne 0x1400a1fae
movsd xmm0, qword [rbp - 0x78]
cvtpd2ps xmm0, xmm0
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__isnanf]
test eax, eax
jne 0x1400a1fae
movsd xmm0, qword [rbp - 0x70]
cvtpd2ps xmm0, xmm0
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__isnanf]
lea rcx, [r14 + 0x1b0]
call fcn.1400a62f0
movsd xmm9, qword [rsp + 0x50]
mov rbx, rax
movss xmm6, dword [0x140108274]
movaps xmm0, xmm9
subsd xmm0, qword [0x140115928]
movaps xmm1, xmm6
cvtpd2ps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm8, xmm0
movaps xmm1, xmm6
movsd xmm0, qword [rsp + 0x48]
subsd xmm0, qword [0x140115920]
cvtpd2ps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movsd xmm2, qword [rsp + 0x58]
addss xmm8, xmm0
subsd xmm2, qword [0x140115930]
movaps xmm1, xmm6
cvtpd2ps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm8, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm8
ja 0x1400a2039
xorps xmm6, xmm6
sqrtss xmm6, xmm8
jmp 0x1400a2045
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
xorps xmm1, xmm1
movsd qword [rbp - 0x70], xmm7
lea rcx, [rbx + 0x168]
mov r8d, Ordinal_27
lea rdx, [rbp - 0x80]
movups xmmword [rbp - 0x80], xmm1
call fcn.14002ff20
mulss xmm10, dword [0x140108384]
xorps xmm1, xmm1
movsd xmm0, qword [rbp - 0x70]
xorps xmm2, xmm2
movsd xmm4, qword [rbp - 0x80]
andps xmm10, xmmword [0x140108c60]
mulss xmm10, dword [0x140108218]
movsd xmm3, qword [rbp - 0x78]
divss xmm6, xmm11
cvtss2sd xmm2, xmm6
mulss xmm6, xmm6
mulsd xmm0, xmm2
mulsd xmm4, xmm2
mulss xmm10, xmm6
mulsd xmm3, xmm2
addsd xmm4, qword [rsp + 0x48]
cvtss2sd xmm1, xmm10
addsd xmm3, xmm9
addsd xmm1, xmm0
movaps xmm0, xmm4
unpcklpd xmm0, xmm3
addsd xmm1, qword [rsp + 0x58]
movsd qword [rsp + 0x58], xmm1
movsd qword [rbp - 0x70], xmm1
jmp 0x1400a268f
mov rcx, qword [0x140116e00]
add rcx, 0xa80
call fcn.1400a62f0
test rax, rax
je 0x1400a26a9
lea rcx, [rax + 0x568]
call fcn.1400a62f0
test rax, rax
je 0x1400a26a9
lea rcx, [rax + 0x40]
call fcn.1400a62f0
mov rbx, rax
test rax, rax
je 0x1400a26a9
lea rcx, [rax + 0x18]
call fcn.1400a62f0
lea rcx, [rbx + 0x20]
mov rsi, rax
call fcn.1400a6a50
movsxd rbx, eax
lea ecx, [rbx - 1]
cmp ecx, 0x30
ja 0x1400a26a9
mov rcx, 0xffffffffffffffff
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.1400f3c7c
lea r8d, [rbx + rbx]
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.14002ff20
xor bl, bl
mov dword [rbp - 0x80], 0xda4fda6a
mov rcx, r13
mov dword [rbp - 0x7c], 0xda4cda4b
xorps xmm10, xmm10
mov dword [rbp - 0x78], 0xda5bda4f
mov dword [rbp - 0x74], 0xda33da4c
mov esi, 0x25c7
mov dword [rbp - 0x70], 0xda26da24
mov dword [rbp - 0x6c], 0xda17da63
mov dword [rbp - 0x68], 0xda2fda2b
mov dword [rbp - 0x64], 0xda2dda37
mov dword [rbp - 0x60], 0xda6ada3b
mov dword [rbp - 0x5c], 0xda25da19
mov dword [rbp - 0x58], 0xda22da2b
mov dword [rbp - 0x54], 0xda2a
mov byte [rbp - 0x50], 1
movzx eax, cx
sub ax, si
xor word [rbp + rcx*2 - 0x80], ax
inc rcx
cmp rcx, 0x17
jb 0x1400a21e2
lea rdx, [rbp - 0x80]
mov byte [rbp - 0x50], bl
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
movss xmm8, dword [0x140108350]
movss xmm6, dword [0x140108240]
test rax, rax
je 0x1400a2226
movaps xmm9, xmm8
movaps xmm10, xmm6
mov bl, 1
mov dword [rbp - 0x80], 0xda5fda71
mov rcx, r13
mov dword [rbp - 0x7c], 0xda4ada5a
mov dword [rbp - 0x78], 0xda1eda44
mov dword [rbp - 0x74], 0xda2eda6c
mov dword [rbp - 0x70], 0xda32da28
mov dword [rbp - 0x6c], 0xda36da26
mov dword [rbp - 0x68], 0xda14da65
mov dword [rbp - 0x64], 0xda2eda2e
mov dword [rbp - 0x60], 0xda2fda25
mov word [rbp - 0x5c], r13w
mov byte [rbp - 0x5a], 1
movzx eax, cx
sub ax, si
xor word [rbp + rcx*2 - 0x80], ax
inc rcx
cmp rcx, 0x12
jb 0x1400a2271
lea rdx, [rbp - 0x80]
mov byte [rbp - 0x5a], r13b
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x1400a22a5
movaps xmm9, xmm8
movaps xmm10, xmm6
mov bl, 1
mov dword [rbp - 0x80], 0xda55da7b
mov rcx, r13
mov dword [rbp - 0x7c], 0xda48da57
mov dword [rbp - 0x78], 0xda7fda10
mov dword [rbp - 0x74], 0xda34da5c
mov dword [rbp - 0x70], 0xda2dda28
mov dword [rbp - 0x6c], 0xda64da2d
mov dword [rbp - 0x68], 0xda28da16
mov dword [rbp - 0x64], 0xda38da2e
mov dword [rbp - 0x60], 0xda38da2c
mov dword [rbp - 0x5c], 0xda1eda6b
mov dword [rbp - 0x58], 0xda28da24
mov dword [rbp - 0x54], 0xda35da23
mov word [rbp - 0x50], r13w
mov byte [rbp - 0x4e], 1
nop word [rax + rax]
movzx eax, cx
sub ax, si
xor word [rbp + rcx*2 - 0x80], ax
inc rcx
cmp rcx, 0x18
jb 0x1400a2310
lea rdx, [rbp - 0x80]
mov byte [rbp - 0x4e], r13b
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x1400a2344
movaps xmm9, xmm8
movaps xmm10, xmm6
mov bl, 1
mov dword [rbp - 0x80], 0xda4fda71
mov rcx, r13
mov dword [rbp - 0x7c], 0xda48da55
mov dword [rbp - 0x78], 0xda4cda58
mov dword [rbp - 0x74], 0xda02da1f
mov dword [rbp - 0x70], 0xda2eda2e
mov dword [rbp - 0x6c], 0xda69da37
mov dword [rbp - 0x68], 0xda25da04
mov dword [rbp - 0x64], 0xda21da33
mov dword [rbp - 0x60], 0xda24da26
mov dword [rbp - 0x5c], 0xda1fda6b
mov dword [rbp - 0x58], 0xda27da23
mov dword [rbp - 0x54], 0xda35da3f
mov dword [rbp - 0x50], 0xda23
mov byte [rbp - 0x4c], 1
nop word [rax + rax]
movzx eax, cx
sub ax, si
xor word [rbp + rcx*2 - 0x80], ax
inc rcx
cmp rcx, 0x19
jb 0x1400a23b0
lea rdx, [rbp - 0x80]
mov byte [rbp - 0x4c], r13b
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x1400a23e4
movaps xmm9, xmm8
movaps xmm10, xmm6
mov bl, 1
mov dword [rbp - 0x80], 0xda4fda71
mov rcx, r13
mov dword [rbp - 0x7c], 0xda48da55
mov dword [rbp - 0x78], 0xda50da54
mov dword [rbp - 0x74], 0xda60da58
mov dword [rbp - 0x70], 0xda2bda13
mov dword [rbp - 0x6c], 0xda28da25
mov dword [rbp - 0x68], 0xda20
mov byte [rbp - 0x64], 1
nop dword [rax]
movzx eax, cx
sub ax, si
xor word [rbp + rcx*2 - 0x80], ax
inc rcx
cmp rcx, 0xd
jb 0x1400a2420
lea rdx, [rbp - 0x80]
mov byte [rbp - 0x64], r13b
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x1400a245b
movss xmm9, dword [0x140108354]
movaps xmm10, xmm6
mov bl, 1
jmp 0x1400a2463
test bl, bl
je 0x1400a25f1
mov rcx, qword [0x140116e00]
add rcx, 0x328
call fcn.1400a62f0
mov r8d, WSASetLastError
lea rcx, [rbp - 0x80]
mov rdx, rax
call fcn.14002fff0
movsd xmm0, qword [rbp - 0x80]
cvtpd2ps xmm0, xmm0
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__isnanf]
test eax, eax
jne 0x1400a24bd
movsd xmm0, qword [rbp - 0x78]
cvtpd2ps xmm0, xmm0
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__isnanf]
test eax, eax
jne 0x1400a24bd
movsd xmm0, qword [rbp - 0x70]
cvtpd2ps xmm0, xmm0
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__isnanf]
lea rcx, [r14 + 0x1b0]
call fcn.1400a62f0
movsd xmm11, qword [rsp + 0x50]
mov rsi, rax
movss xmm6, dword [0x140108274]
movaps xmm0, xmm11
subsd xmm0, qword [0x140115928]
movaps xmm1, xmm6
cvtpd2ps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm8, xmm0
movaps xmm1, xmm6
movsd xmm0, qword [rsp + 0x48]
subsd xmm0, qword [0x140115920]
cvtpd2ps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movsd xmm2, qword [rsp + 0x58]
addss xmm8, xmm0
subsd xmm2, qword [0x140115930]
movaps xmm1, xmm6
cvtpd2ps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm8, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm8
ja 0x1400a2548
xorps xmm6, xmm6
sqrtss xmm6, xmm8
jmp 0x1400a2554
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
xorps xmm1, xmm1
movsd qword [rbp - 0x70], xmm7
lea rcx, [rsi + 0x168]
mov r8d, Ordinal_27
lea rdx, [rbp - 0x80]
movups xmmword [rbp - 0x80], xmm1
call fcn.14002ff20
mulss xmm10, dword [0x140108384]
xorps xmm1, xmm1
movsd xmm0, qword [rbp - 0x70]
xorps xmm2, xmm2
movsd xmm4, qword [rbp - 0x80]
andps xmm10, xmmword [0x140108c60]
mulss xmm10, dword [0x140108218]
movsd xmm3, qword [rbp - 0x78]
divss xmm6, xmm9
cvtss2sd xmm2, xmm6
mulss xmm6, xmm6
mulsd xmm0, xmm2
mulsd xmm4, xmm2
mulss xmm10, xmm6
mulsd xmm3, xmm2
addsd xmm4, qword [rsp + 0x48]
cvtss2sd xmm1, xmm10
addsd xmm3, xmm11
addsd xmm1, xmm0
movaps xmm0, xmm4
unpcklpd xmm0, xmm3
addsd xmm1, qword [rsp + 0x58]
movsd qword [rsp + 0x58], xmm1
movsd qword [rbp - 0x70], xmm1
jmp 0x1400a265b
mov rcx, qword [0x140116e00]
add rcx, 0x328
call fcn.1400a62f0
mov r8d, WSASetLastError
lea rcx, [rbp - 0x80]
mov rdx, rax
call fcn.14002fff0
movsd xmm0, qword [rbp - 0x80]
cvtpd2ps xmm0, xmm0
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__isnanf]
test eax, eax
jne 0x1400a264b
movsd xmm0, qword [rbp - 0x78]
cvtpd2ps xmm0, xmm0
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__isnanf]
test eax, eax
jne 0x1400a264b
movsd xmm0, qword [rbp - 0x70]
cvtpd2ps xmm0, xmm0
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__isnanf]
movsd xmm1, qword [rsp + 0x58]
movups xmm0, xmmword [rsp + 0x48]
movsd qword [rbp - 0x70], xmm1
lea rdx, [rbp - 0x80]
movaps xmmword [rbp - 0x80], xmm0
lea rcx, [rsp + 0x48]
call fcn.140030160
mov rcx, rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
call fcn.1400f3bc8
jmp 0x1400a26ae
movsd xmm1, qword [rsp + 0x58]
movups xmm0, xmmword [rsp + 0x48]
movsd qword [rbp - 0x70], xmm1
lea rdx, [rbp - 0x80]
movaps xmmword [rbp - 0x80], xmm0
lea rcx, [rsp + 0x48]
call fcn.140030160
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movzx ebx, byte [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.1400a1ad0
movaps xmm11, xmmword [rsp + 0xf0]
movaps xmm10, xmmword [rsp + 0x100]
movaps xmm9, xmmword [rsp + 0x110]
mov rsi, qword [rsp + 0x180]
cmp qword [rbp - 0x30], r13
je 0x1400a283c
mov eax, dword [reloc.WS2_32.dll_connect]
test bl, bl
movsd xmm5, qword [rsp + 0x60]
movaps xmm3, xmm7
cmovne eax, dword [reloc.WS2_32.dll_connect]
movaps xmm2, xmm7
ucomisd xmm5, xmm7
movsd xmm8, qword [0x140108c80]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
jp 0x1400a2717
je 0x1400a2775
movd xmm4, r15d
cvtdq2pd xmm4, xmm4
comisd xmm5, xmm4
jbe 0x1400a2754
cvtps2pd xmm0, xmm6
lea eax, [r15 + r15]
movaps xmm3, xmm4
movaps xmm1, xmm4
subsd xmm3, xmm5
xorps xmm3, xmm8
divsd xmm3, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm3
comisd xmm1, xmm0
jbe 0x1400a2754
movaps xmm3, xmm7
comisd xmm4, xmm5
jbe 0x1400a2775
movaps xmm3, xmm5
subsd xmm3, xmm4
cvtps2pd xmm0, xmm6
divsd xmm3, xmm0
addsd xmm4, xmm3
comisd xmm7, xmm4
jbe 0x1400a2775
movaps xmm3, xmm7
movsd xmm5, qword [rsp + 0x68]
ucomisd xmm5, xmm7
jp 0x1400a2783
je 0x1400a27e1
movd xmm4, r12d
cvtdq2pd xmm4, xmm4
comisd xmm5, xmm4
jbe 0x1400a27c0
cvtps2pd xmm0, xmm6
lea eax, [r12 + r12]
movaps xmm2, xmm4
movaps xmm1, xmm4
subsd xmm2, xmm5
xorps xmm2, xmm8
divsd xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm2
comisd xmm1, xmm0
jbe 0x1400a27c0
movaps xmm2, xmm7
comisd xmm4, xmm5
jbe 0x1400a27e1
movaps xmm2, xmm5
subsd xmm2, xmm4
cvtps2pd xmm0, xmm6
divsd xmm2, xmm0
addsd xmm4, xmm2
comisd xmm7, xmm4
jbe 0x1400a27e1
movaps xmm2, xmm7
mov rcx, qword [0x140116648]
lea r8, [rsp + 0x78]
xorps xmm0, xmm0
mov qword [rsp + 0x38], r13
cvtsd2ss xmm0, xmm3
mov qword [rsp + 0x30], r13
mov r9d, 8
mov dword [rsp + 0x28], r13d
mov edx, 0x224e00
mov qword [rsp + 0x20], r13
subss xmm0, dword [0x140108308]
movss dword [rsp + 0x7c], xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
subss xmm0, dword [0x140108308]
movss dword [rsp + 0x78], xmm0
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rdx, qword [rbp - 0x28]
movaps xmm8, xmmword [rsp + 0x120]
movaps xmm7, xmmword [rsp + 0x130]
movaps xmm6, xmmword [rsp + 0x140]
mov r13, qword [rsp + 0x188]
cmp rdx, 0x10
jb 0x1400a289b
mov rcx, qword [rbp - 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2896
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a2896
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f3bc8
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.1400f3620
mov rbx, qword [rsp + 0x190]
add rsp, 0x150
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret