Function at 0x140077430
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r13, r9
mov rbx, r8
mov r14, rdx
mov eax, dword [rsp + 0x138]
mov rdx, qword [0x140396de8]
xor rdx, rsp
mov qword [rsp + 0xc0], rdx
test r9, r9
cmove r13, r8
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov esi, dword [r8 + 4]
cmp eax, 0xfffffffe
je 0x1400774b6
mov r12d, esi
cmp eax, 0xffffffff
je 0x1400774b9
mov r12d, eax
cmp eax, 0xfffffffd
jg 0x1400774b9
mov dword [rsp + 0x20], 0x204
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r14d, r14d
mov ecx, 4
xor edx, edx
mov r8d, 0x8a
jmp 0x14007760c
mov r12d, eax
mov rdi, qword [rsp + 0x130]
mov rdx, qword [rcx + 8]
mov r8d, dword [rdx + 8]
mov eax, r8d
sar eax, 0x1f
and eax, r8d
mov r10, r8
nop word cs:[rax + rax]
test r10d, r10d
jle 0x1400774ff
mov r9, qword [rdx]
lea r11, [r10 - 1]
cmp qword [r9 + r10*8 - 8], 0
mov r10, r11
je 0x1400774e0
inc r11d
mov eax, r11d
jmp 0x140077510
mov ebp, 7
test r8d, r8d
jns 0x140077593
mov r9, qword [rdx]
cdqe
mov rdx, qword [r9 + rax*8 - 8]
xor eax, eax
test rdx, rdx
sete al
mov r8, rdx
shr r8, 0x20
cmove r8, rdx
mov rdx, r8
shr rdx, 0x10
cmp r8, 0x10000
cmovb rdx, r8
mov r8, rdx
shr r8, 8
cmp rdx, 0x100
cmovb r8, rdx
mov rdx, r8
shr rdx, 4
xor r9d, r9d
cmp r8, 0x10
cmovb rdx, r8
setae r9b
shl r9d, 2
mov r8, rdx
shr r8, 2
xor r10d, r10d
cmp rdx, 4
cmovb r8, rdx
setae r10b
xor edx, edx
cmp r8, 2
setae dl
sub r9d, eax
lea ebp, [r9 + r10*2]
add ebp, edx
and ebp, 7
call fcn.140077970
movzx edx, byte [rdi]
mov ecx, ebp
shr edx, cl
test edx, edx
je 0x1400775c4
mov dword [rsp + 0x20], 0x20b
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r14d, r14d
mov ecx, 4
xor edx, edx
mov r8d, 0x7a
jmp 0x14007760c
mov ecx, eax
xor edi, edi
test ebp, ebp
sete dil
mov r15, rcx
sub r15, rdi
lea rax, [rsi + 2]
cmp r15, rax
jb 0x1400775ed
mov edx, r12d
test r12d, r12d
js 0x14007765e
add rax, rdx
cmp r15, rax
jae 0x14007765e
mov dword [rsp + 0x20], 0x215
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r14d, r14d
mov ecx, 4
xor edx, edx
mov r8d, WSAStartup
call fcn.14004a6a0
xor r12d, r12d
mov rcx, r14
call fcn.1400936a0
mov rcx, qword [rsp + 0x68]
call fcn.1400936a0
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x140077637
mov rcx, qword [rsp + 0x70]
call qword [rax]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14025dfe0
mov eax, r12d
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x130]
add rax, rdi
cmp byte [r15 + rax - 1], 0xbc
jne 0x1400777bd
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x34], r12d
mov qword [rsp + 0x50], r14
mov rax, rsi
not rax
mov qword [rsp + 0x38], rax
add r15, rax
mov rcx, r15
call fcn.140093640
xor r12d, r12d
test rax, rax
je 0x1400777e1
mov r14, rax
mov rax, qword [rsp + 0x48]
add rax, r15
mov qword [rsp + 0x20], r13
mov r13, rax
mov rcx, r14
mov rdx, r15
mov r8, rax
mov r9, rsi
call fcn.140076e80
test eax, eax
je 0x140077614
mov rax, rdi
neg rax
test r15, r15
mov r9d, dword [rsp + 0x34]
mov r10, qword [rsp + 0x48]
je 0x140077741
cmp r15, 8
jb 0x140077728
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rdx, qword [rsp + 0x38]
add rdx, rdi
add rdx, qword [rsp + 0x130]
add rdx, rcx
cmp r14, rdx
jae 0x1400778e0
lea rcx, [r14 + r15]
cmp r10, rcx
jae 0x1400778e0
xor ecx, ecx
nop word [rax + rax]
movzx edx, byte [r10 + rcx]
xor byte [r14 + rcx], dl
inc rcx
cmp rcx, r15
jb 0x140077730
test ebp, ebp
je 0x140077754
mov cl, 8
sub cl, bpl
mov edx, 0xff
shr edx, cl
and byte [r14], dl
lea rcx, [r15 - 1]
xor edx, edx
nop word [rax + rax]
movzx r8d, byte [r14 + rdx]
lea rdi, [rdx + 1]
test r8b, r8b
jne 0x140077776
cmp rdx, rcx
mov rdx, rdi
jb 0x140077760
cmp r8b, 1
jne 0x1400777e9
test r9d, r9d
js 0x140077812
add rax, qword [rsp + 0x40]
sub rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
add rcx, rax
cmp rcx, rdi
je 0x140077812
mov dword [rsp + 0x20], 0x23a
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r12d, r12d
mov ecx, 4
xor edx, edx
mov r8d, 0x8a
jmp 0x140077808
mov dword [rsp + 0x20], 0x219
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r14d, r14d
mov ecx, 4
xor edx, edx
mov r8d, 0x7f
jmp 0x14007760c
xor r14d, r14d
jmp 0x140077614
mov dword [rsp + 0x20], 0x234
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r12d, r12d
mov ecx, 4
xor edx, edx
mov r8d, 0x8b
call fcn.14004a6a0
jmp 0x140077614
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.140066810
test eax, eax
je 0x140077611
sub r15, rdi
mov rax, qword [rsp + 0x60]
lea rdx, [0x1402d9a50]
lea rbx, [rsp + 0x60]
mov r8d, 8
mov rcx, rbx
call qword [rax + 0x18]
mov rax, qword [rsp + 0x60]
mov rcx, rbx
mov rdx, qword [rsp + 0x50]
mov r8, rsi
call qword [rax + 0x18]
mov rdx, r14
add rdx, rdi
mov rax, qword [rsp + 0x60]
mov rcx, rbx
mov r8, r15
call qword [rax + 0x18]
mov rax, qword [rsp + 0x60]
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [rax + 0x20]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov edx, dword [rax + 0x2c]
call fcn.1400936e0
mov r12d, 1
test esi, esi
je 0x140077614
lea rcx, [rsp + 0x80]
mov rdx, r13
mov r8, rsi
call fcn.140260730
test eax, eax
je 0x140077614
mov dword [rsp + 0x20], 0x246
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_padding.c
xor r12d, r12d
mov ecx, 4
xor edx, edx
mov r8d, 0x69
jmp 0x140077808
cmp r15, 0x20
jae 0x1400778ea
xor ecx, ecx
jmp 0x140077946
mov rcx, r15
and rcx, 0xffffffffffffffe0
mov rdx, qword [rsp + 0x130]
add rdx, rdi
add rdx, 0x10
xor r8d, r8d
movups xmm0, xmmword [rdx + r8 - 0x10]
movups xmm1, xmmword [rdx + r8]
movups xmm2, xmmword [r14 + r8]
xorps xmm2, xmm0
movups xmm0, xmmword [r14 + r8 + 0x10]
xorps xmm0, xmm1
movups xmmword [r14 + r8], xmm2
movups xmmword [r14 + r8 + 0x10], xmm0
add r8, 0x20
cmp rcx, r8
jne 0x140077903
cmp r15, rcx
je 0x140077741
test r15b, 0x18
je 0x140077730
mov rdx, rcx
mov rcx, r15
and rcx, 0xfffffffffffffff8
mov r8, qword [r10 + rdx]
xor qword [r14 + rdx], r8
add rdx, 8
cmp rcx, rdx
jne 0x140077950
cmp r15, rcx
jne 0x140077730
jmp 0x140077741