Function at 0x140082cc0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rax, qword [0x1403acd78]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [rcx + 8], 0
je 0x140082d5c
mov rsi, rcx
cmp qword [rcx + 0x18], 0
je 0x140082d5c
mov rbx, r9
mov r13, r8
mov r14, rdx
mov dword [rsp + 0x4c], 0
mov ecx, 0x30
call fcn.14009ea60
test rax, rax
je 0x140082d9f
mov rdi, rax
pxor xmm0, xmm0
movdqu xmmword [rax + 0x1a], xmm0
movdqu xmmword [rax + 0x10], xmm0
movdqu xmmword [rax], xmm0
mov edx, 0x100
xor ecx, ecx
call fcn.14009eae0
test rax, rax
je 0x140082dbf
mov qword [rdi + 8], rax
mov qword [rdi + 0x18], 0x20
mov rcx, qword [rdi + 0x10]
mov qword [rax + rcx*8], 0
inc qword [rdi + 0x10]
jmp 0x140082dc5
mov dword [rsp + 0x20], 0x2b4
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_rsa_impl.c
xor ebx, ebx
mov ecx, 4
xor edx, edx
mov r8d, 0x90
call fcn.140049240
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140279500
mov eax, ebx
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSAGetLastError
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_ctx.c
xor ebx, ebx
mov ecx, 3
xor edx, edx
mov r8d, 0x41
jmp 0x140082d7a
mov word [rdi + 0x28], 0x101
mov rcx, rdi
call fcn.140055ae0
mov r12, rax
mov rcx, rdi
call fcn.140055ae0
test r12, r12
je 0x140082ebf
mov r15, rax
test rax, rax
je 0x140082ebf
mov rcx, r13
mov rdx, rbx
mov r8, r12
call fcn.1400549e0
test rax, rax
je 0x140082ee2
mov rax, qword [rsi + 8]
movsxd rcx, dword [rax + 8]
mov r9, qword [rax]
movsxd rdx, dword [r12 + 8]
mov r8, qword [r12]
mov r10, rdx
sub r10, rcx
mov r11, rcx
cmovb r11, rdx
test r11, r11
je 0x140082ee9
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r15
mov r10, rbx
mov rbx, r14
xor eax, eax
xor r13d, r13d
nop dword [rax + rax]
mov rbp, qword [r9 + r13*8]
mov r12, qword [r8 + r13*8]
mov r14, r12
xor r14, rbp
mov r15, r12
sub r15, rbp
xor r15, r12
or r15, r14
xor r15, r12
mov r12, r15
not r12
shr r12, 0x3f
sar r15, 0x3f
mov r15d, r15d
or r15, r12
mov eax, eax
test r14, r14
cmovne rax, r15
inc r13
cmp r11, r13
jne 0x140082e50
mov r14, rbx
mov rbx, r10
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov r10, qword [rsp + 0x40]
cmp edx, ecx
jae 0x140082eef
mov r8, rcx
sub r8, rdx
cmp r8, 4
jae 0x140082f05
xor r10d, r10d
jmp 0x140083040
mov dword [rsp + 0x20], 0x2c7
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_rsa_impl.c
xor ebx, ebx
mov ecx, 4
xor edx, edx
mov r8d, 0x41
jmp 0x1400831eb
xor ebx, ebx
jmp 0x1400831f0
xor eax, eax
cmp edx, ecx
jb 0x140082eab
cmp ecx, edx
jae 0x140083062
cmp r10, 4
jae 0x140082f30
xor r9d, r9d
jmp 0x140083160
lea r11, [r8 - 4]
mov r13, r11
shr r13, 2
inc r13
mov r10d, r13d
and r10d, 3
cmp r11, 0xc
jae 0x140082f5f
pxor xmm0, xmm0
xor r11d, r11d
pxor xmm1, xmm1
jmp 0x140082fe2
lea r11, [r10 - 4]
mov r13, r11
shr r13, 2
inc r13
mov r9d, r13d
and r9d, 3
cmp r11, 0xc
jae 0x14008308d
pxor xmm0, xmm0
xor r11d, r11d
pxor xmm1, xmm1
jmp 0x140083106
and r13, 0xfffffffffffffffc
lea rbp, [r9 + rdx*8]
add rbp, 0x70
pxor xmm0, xmm0
xor r11d, r11d
pxor xmm1, xmm1
nop word cs:[rax + rax]
movdqu xmm2, xmmword [rbp + r11*8 - 0x70]
por xmm2, xmm0
movdqu xmm0, xmmword [rbp + r11*8 - 0x60]
por xmm0, xmm1
movdqu xmm1, xmmword [rbp + r11*8 - 0x50]
movdqu xmm3, xmmword [rbp + r11*8 - 0x40]
movdqu xmm4, xmmword [rbp + r11*8 - 0x30]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [rbp + r11*8 - 0x20]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [rbp + r11*8 - 0x10]
por xmm0, xmm4
movdqu xmm1, xmmword [rbp + r11*8]
por xmm1, xmm2
add r11, 0x10
add r13, 0xfffffffffffffffc
jne 0x140082f80
mov r13, r8
and r13, 0xfffffffffffffffc
test r10, r10
je 0x14008301e
add r11, rdx
lea r11, [r9 + r11*8]
add r11, 0x10
shl r10, 5
xor ebp, ebp
nop
movdqu xmm2, xmmword [r11 + rbp - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [r11 + rbp]
por xmm1, xmm2
add rbp, 0x20
cmp r10, rbp
jne 0x140083000
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
movq r10, xmm1
cmp r8, r13
je 0x14008304c
add rdx, r13
nop dword [rax + rax]
or r10, qword [r9 + rdx*8]
inc rdx
cmp rcx, rdx
jne 0x140083040
mov rcx, r10
not rcx
dec r10
and r10, rcx
sar r10, 0x3f
not r10d
or eax, r10d
test eax, eax
js 0x140083185
mov dword [rsp + 0x20], 0x2d1
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_rsa_impl.c
xor ebx, ebx
mov ecx, 4
xor edx, edx
mov r8d, reloc.WS2_32.dll_WSAStartup
jmp 0x1400831eb
and r13, 0xfffffffffffffffc
lea rbp, [r8 + rcx*8]
add rbp, 0x70
pxor xmm0, xmm0
xor r11d, r11d
pxor xmm1, xmm1
movdqu xmm2, xmmword [rbp + r11*8 - 0x70]
por xmm2, xmm0
movdqu xmm0, xmmword [rbp + r11*8 - 0x60]
por xmm0, xmm1
movdqu xmm1, xmmword [rbp + r11*8 - 0x50]
movdqu xmm3, xmmword [rbp + r11*8 - 0x40]
movdqu xmm4, xmmword [rbp + r11*8 - 0x30]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [rbp + r11*8 - 0x20]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [rbp + r11*8 - 0x10]
por xmm0, xmm4
movdqu xmm1, xmmword [rbp + r11*8]
por xmm1, xmm2
add r11, 0x10
add r13, 0xfffffffffffffffc
jne 0x1400830a4
mov r13, r10
and r13, 0xfffffffffffffffc
test r9, r9
je 0x140083141
add r11, rcx
lea r11, [r8 + r11*8]
add r11, 0x10
shl r9, 5
xor ebp, ebp
movdqu xmm2, xmmword [r11 + rbp - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [r11 + rbp]
por xmm1, xmm2
add rbp, 0x20
cmp r9, rbp
jne 0x140083123
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
movq r9, xmm1
cmp r10, r13
je 0x14008316c
add rcx, r13
nop dword [rax + rax]
or r9, qword [r8 + rcx*8]
inc rcx
cmp rdx, rcx
jne 0x140083160
xor ecx, ecx
xor edx, edx
test r9, r9
cmove ecx, eax
setne dl
or edx, ecx
mov eax, edx
test eax, eax
jns 0x14008306a
mov rcx, rsi
mov rdx, rdi
call fcn.1400836c0
test eax, eax
je 0x1400831cd
mov ebp, dword [rsi + 0x54]
cmp qword [rsi + 0x10], 0
jne 0x140083282
mov eax, ebp
and eax, 8
jne 0x140083282
mov dword [rsp + 0x20], 0x2e1
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_rsa_impl.c
xor ebx, ebx
mov ecx, 4
xor edx, edx
mov r8d, 0x82
jmp 0x1400831eb
mov dword [rsp + 0x20], 0x2d6
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_rsa_impl.c
xor ebx, ebx
mov ecx, 4
xor edx, edx
mov r8d, 0x44
call fcn.140049240
xor r13d, r13d
cmp byte [rdi + 0x28], 0
jne 0x140083212
mov rax, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
lea rdx, [rcx - 1]
mov qword [rdi + 0x10], rdx
mov rax, qword [rax + rcx*8 - 8]
mov qword [rdi + 0x20], rax
mov rcx, qword [rdi]
lea rdx, [0x14008a750]
lea r8, [fcn.140054420]
call fcn.1400a6e00
mov rcx, qword [rdi + 8]
call fcn.14009ea90
mov rcx, rdi
call fcn.14009ea90
test r13, r13
je 0x140082d7f
mov r14d, dword [rsp + 0x4c]
cmp r14, 0x400
jne 0x14008325d
mov rcx, r13
call fcn.14006d8d0
jmp 0x140082d7f
lea rdi, [rsi + 0x58]
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [rsi + 0xa8]
mov byte [rax + r14], 0
mov rcx, rdi
call fcn.1400a7660
jmp 0x140082d7f
test bpl, 8
jne 0x1400832c2
lea rdx, [rsp + 0x4c]
mov rcx, rsi
call fcn.140083950
test rax, rax
je 0x14008334a
mov r13, rax
mov r8, qword [rsi + 0x10]
mov r9, qword [rsi + 0x60]
mov qword [rsp + 0x20], rdi
mov rcx, r12
mov rdx, rax
call fcn.14007d870
test eax, eax
jne 0x1400832c5
jmp 0x1400836aa
xor r13d, r13d
mov dword [rsp + 0x30], ebp
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x14008346f
mov r8, qword [rsi + 0x28]
test r8, r8
je 0x14008346f
cmp qword [rsi + 0x10], 0
je 0x14008346f
cmp qword [rsi + 0x30], 0
je 0x14008346f
cmp qword [rsi + 0x38], 0
je 0x14008346f
cmp qword [rsi + 0x40], 0
je 0x14008346f
cmp dword [r8 + 0x10], 0
jne 0x14008346f
mov rcx, qword [rsi + 0x68]
movsxd rcx, dword [rcx + 0x20]
movsxd rdx, dword [r8 + 8]
cmp edx, ecx
jbe 0x140083465
mov qword [rsp + 0x38], r12
mov r8, qword [r8]
mov r9, rdx
sub r9, rcx
cmp r9, 4
jae 0x140083357
xor r10d, r10d
jmp 0x14008344f
mov dword [rsp + 0x20], 0x2e8
jmp 0x1400831d5
mov r12, r9
add r9, 0xfffffffffffffffc
mov rbp, r9
shr rbp, 2
inc rbp
mov r10d, ebp
and r10d, 3
cmp r9, 0xc
jae 0x140083382
pxor xmm0, xmm0
xor r11d, r11d
pxor xmm1, xmm1
jmp 0x1400833fa
and rbp, 0xfffffffffffffffc
lea r9, [r8 + rcx*8]
add r9, 0x70
pxor xmm0, xmm0
xor r11d, r11d
pxor xmm1, xmm1
movdqu xmm2, xmmword [r9 + r11*8 - 0x70]
por xmm2, xmm0
movdqu xmm0, xmmword [r9 + r11*8 - 0x60]
por xmm0, xmm1
movdqu xmm1, xmmword [r9 + r11*8 - 0x50]
movdqu xmm3, xmmword [r9 + r11*8 - 0x40]
movdqu xmm4, xmmword [r9 + r11*8 - 0x30]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [r9 + r11*8 - 0x20]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [r9 + r11*8 - 0x10]
por xmm0, xmm4
movdqu xmm1, xmmword [r9 + r11*8]
por xmm1, xmm2
add r11, 0x10
add rbp, 0xfffffffffffffffc
jne 0x140083399
mov r9, r12
and r9, 0xfffffffffffffffc
test r10, r10
je 0x140083435
add r11, rcx
lea r11, [r8 + r11*8]
add r11, 0x10
shl r10, 5
xor ebp, ebp
movdqu xmm2, xmmword [r11 + rbp - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [r11 + rbp]
por xmm1, xmm2
add rbp, 0x20
cmp r10, rbp
jne 0x140083417
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
movq r10, xmm1
cmp r12, r9
je 0x14008345b
add rcx, r9
or r10, qword [r8 + rcx*8]
inc rcx
cmp rdx, rcx
jne 0x14008344f
test r10, r10
mov r12, qword [rsp + 0x38]
jne 0x14008346f
cmp dword [rax + 0x10], 0
je 0x14008355b
mov r9, qword [rsi + 8]
mov rax, qword [rsi + 0x60]
mov r8, qword [rsi + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov rcx, r15
mov rdx, r12
call fcn.14005a260
test eax, eax
je 0x1400836aa
cmp qword [rsi + 0x10], 0
je 0x1400834e7
mov rcx, rdi
call fcn.140055ae0
test rax, rax
je 0x140083533
mov rbp, rax
mov rax, qword [rsi + 0x60]
mov r9, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov rcx, rbp
mov rdx, r15
call fcn.140058ad0
test eax, eax
je 0x140083533
mov rcx, rbp
mov rdx, r12
call fcn.140055600
test eax, eax
je 0x140083533
test byte [rsp + 0x30], 8
jne 0x14008350e
mov r9, qword [rsi + 0x60]
mov r8, qword [r13 + 8]
mov qword [rsp + 0x20], rdi
mov rcx, r15
mov rdx, r15
call fcn.140059900
test eax, eax
je 0x1400836aa
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.140054d20
mov ebx, 1
test eax, eax
jne 0x1400831f3
mov dword [rsp + 0x20], 0x320
jmp 0x14008353b
mov dword [rsp + 0x20], 0x30e
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_rsa_impl.c
xor ebx, ebx
mov ecx, 4
xor edx, edx
mov r8d, 0x44
call fcn.140049240
jmp 0x1400831f3
mov rcx, qword [rsi + 0x70]
movsxd rcx, dword [rcx + 0x20]
movsxd rdx, dword [rax + 8]
cmp edx, ecx
jbe 0x140083691
mov rax, qword [rax]
mov r8, rdx
sub r8, rcx
cmp r8, 4
jae 0x140083586
xor r9d, r9d
jmp 0x14008367c
lea r10, [r8 - 4]
mov r11, r10
shr r11, 2
inc r11
mov r9d, r11d
and r9d, 3
cmp r10, 0xc
jae 0x1400835ae
pxor xmm0, xmm0
xor r10d, r10d
pxor xmm1, xmm1
jmp 0x140083627
and r11, 0xfffffffffffffffc
lea rbp, [rax + rcx*8]
add rbp, 0x70
pxor xmm0, xmm0
xor r10d, r10d
pxor xmm1, xmm1
movdqu xmm2, xmmword [rbp + r10*8 - 0x70]
por xmm2, xmm0
movdqu xmm0, xmmword [rbp + r10*8 - 0x60]
por xmm0, xmm1
movdqu xmm1, xmmword [rbp + r10*8 - 0x50]
movdqu xmm3, xmmword [rbp + r10*8 - 0x40]
movdqu xmm4, xmmword [rbp + r10*8 - 0x30]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [rbp + r10*8 - 0x20]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [rbp + r10*8 - 0x10]
por xmm0, xmm4
movdqu xmm1, xmmword [rbp + r10*8]
por xmm1, xmm2
add r10, 0x10
add r11, 0xfffffffffffffffc
jne 0x1400835c5
mov r11, r8
and r11, 0xfffffffffffffffc
test r9, r9
je 0x140083662
add r10, rcx
lea r10, [rax + r10*8]
add r10, 0x10
shl r9, 5
xor ebp, ebp
movdqu xmm2, xmmword [r10 + rbp - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [r10 + rbp]
por xmm1, xmm2
add rbp, 0x20
cmp r9, rbp
jne 0x140083644
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
movq r9, xmm1
cmp r8, r11
je 0x140083688
add rcx, r11
or r9, qword [rax + rcx*8]
inc rcx
cmp rdx, rcx
jne 0x14008367c
test r9, r9
jne 0x14008346f
mov rcx, r15
mov rdx, r12
mov r8, rsi
mov r9, rdi
call fcn.140083b80
test eax, eax
jne 0x140083498
xor ebx, ebx
jmp 0x1400831f3