Function at 0x140134320
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
xor edi, edi
mov rsi, r9
mov r14d, edi
mov r15, rdx
mov rbx, rcx
call fcn.140074280
mov rcx, rbx
mov r12, rax
call fcn.1400995a0
mov rcx, rax
mov rbp, rax
call fcn.1400d7500
mov rcx, rbx
mov qword [rsp + 0xa0], rax
call fcn.1400995c0
mov rcx, r15
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x50], rdi
mov ebx, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
call fcn.14005ed40
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0x90], rdi
test r12, r12
je 0x14013492f
test eax, eax
jle 0x14013492f
mov rcx, rbp
call fcn.140133b90
mov r15, rax
test rax, rax
jne 0x1401343dd
mov dword [rsp + 0x20], __WSAFDIsSet
jmp 0x140134937
mov rcx, rbp
call fcn.1400d8060
mov rcx, rbp
mov qword [rsp + 0x50], rax
call fcn.1400d8060
mov qword [rsp + 0x58], rax
call fcn.1400f4da0
mov r14, rax
cmp qword [rsp + 0x50], rbx
je 0x14013491f
cmp qword [rsp + 0x58], rbx
je 0x14013491f
test rax, rax
je 0x14013491f
mov rcx, rax
call fcn.1400f4e80
mov rcx, r14
call fcn.1400f4bf0
mov rcx, r14
mov r13, rax
call fcn.1400f4bf0
mov rcx, r14
mov qword [rsp + 0x70], rax
call fcn.1400f4bf0
mov rcx, r14
mov qword [rsp + 0x68], rax
call fcn.1400f4bf0
mov rcx, r14
mov qword [rsp + 0x78], rax
call fcn.1400f4bf0
mov qword [rsp + 0xb0], rax
test rax, rax
jne 0x14013447e
mov dword [rsp + 0x20], 0xa7
lea r8d, [rax + 3]
jmp 0x14013493d
lea rcx, [r15 + r15]
mov r8d, 0xab
lea rdx, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
call fcn.14006a7c0
movsxd rcx, dword [rsp + 0x48]
lea rdx, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
mov r8d, 0xac
mov qword [rsp + 0x60], rax
call fcn.14006a7c0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x60], rbx
je 0x1401348f6
test rax, rax
je 0x1401348f6
mov rax, qword [rsp + 0x128]
xor edx, edx
mov rcx, qword [rsp + 0x120]
mov r8, qword [rax]
call fcn.140173680
mov rdx, qword [rsp + 0xa0]
mov rcx, r13
call fcn.1400f5210
test eax, eax
jne 0x140134521
mov dword [rsp + 0x20], 0xb6
mov edx, 0x67
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
lea ecx, [rdx - 0x32]
lea r8d, [rdx - 0x23]
call fcn.140069ef0
mov rbp, qword [rsp + 0x40]
jmp 0x140134954
mov rdx, qword [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], r14
mov r8, r13
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call fcn.1400d8010
test eax, eax
je 0x1401348cf
mov r9, qword [rsp + 0x78]
mov rcx, rbp
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], r14
call fcn.1400d7d20
test eax, eax
je 0x1401348cf
mov r9, qword [rsp + 0xa8]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, rbp
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r13
call fcn.1400d8010
test eax, eax
je 0x1401348cf
mov r13, qword [rsp + 0xb0]
mov rcx, rbp
mov r8, qword [rsp + 0x68]
mov r9, r13
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], r14
call fcn.1400d7d20
test eax, eax
je 0x1401348cf
mov rbp, qword [rsp + 0x60]
mov r8d, r15d
mov rcx, qword [rsp + 0x68]
mov rdx, rbp
call fcn.1400c25f0
test eax, eax
js 0x1401348c2
lea rdx, [r15 + rbp]
mov r8d, r15d
mov rcx, r13
call fcn.1400c25f0
test eax, eax
js 0x1401348c2
mov r8d, 0xc8
lea rdx, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
mov rcx, rsi
call fcn.14006a7c0
mov rbx, rax
test rax, rax
jne 0x14013461c
mov dword [rsp + 0x20], 0xca
jmp 0x1401348fe
mov r13, qword [rsp + 0x108]
lea r9, [r15 + r15]
mov qword [rsp + 0x30], r13
mov r8, rbp
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call fcn.140132e40
test eax, eax
jne 0x14013465a
mov dword [rsp + 0x20], 0xd1
lea r8d, [rax + 6]
jmp 0x140134904
mov r9, rdi
test rsi, rsi
je 0x140134721
mov r8, qword [rsp + 0x110]
cmp rsi, 0x40
jb 0x1401346fb
lea rcx, [rsi - 1]
lea rax, [r8 - 1]
add rcx, rbx
add rax, rsi
cmp rbx, rax
ja 0x140134690
cmp rcx, r8
jae 0x1401346fb
mov rdx, rsi
and rdx, 0xffffffffffffffc0
mov rcx, r8
mov rax, rbx
sub rcx, rbx
movdqu xmm0, xmmword [rax]
add r9, 0x40
movdqu xmm1, xmmword [rcx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rcx + rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [rcx + rax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [rcx + rax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x10], xmm1
cmp r9, rdx
jne 0x1401346a0
cmp r9, rsi
je 0x140134721
sub r8, rbx
lea rcx, [r9 + rbx]
mov rdx, rsi
sub rdx, r9
nop dword [rax]
movzx eax, byte [rcx + r8]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140134710
mov rdx, r13
mov rcx, r12
call fcn.140073d80
test eax, eax
je 0x140134898
mov r8, r15
mov rdx, rbp
mov rcx, r12
call fcn.140074000
test eax, eax
je 0x140134898
mov rdx, qword [rsp + 0x110]
mov r8, rsi
mov rcx, r12
call fcn.140074000
test eax, eax
je 0x140134898
mov r8, r15
lea rdx, [r15 + rbp]
mov rcx, r12
call fcn.140074000
mov rbp, qword [rsp + 0x40]
test eax, eax
je 0x14013489d
xor r8d, r8d
mov rdx, rbp
mov rcx, r12
call fcn.140073c00
test eax, eax
je 0x14013489d
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
call fcn.1400a03e0
mov qword [rsp + 0x90], rax
call fcn.1400a03e0
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
test rcx, rcx
je 0x140134873
test rax, rax
je 0x140134873
mov r8d, dword [rsp + 0x48]
mov rdx, rbp
call fcn.1400c8050
test eax, eax
je 0x14013484e
mov rcx, qword [rsp + 0x98]
mov r8d, esi
mov rdx, rbx
call fcn.1400c8050
test eax, eax
je 0x14013484e
lea r8, [0x140205fc0]
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x80]
call fcn.1400a33d0
test eax, eax
jns 0x140134837
mov dword [rsp + 0x20], 0xf3
jmp 0x140134856
mov rcx, qword [rsp + 0x128]
mov edi, 1
cdqe
mov qword [rcx], rax
jmp 0x140134954
mov dword [rsp + 0x20], 0xec
mov edx, 0x67
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
lea ecx, [rdx - 0x32]
lea r8d, [rdx - 0x23]
call fcn.140069ef0
jmp 0x140134954
mov edx, 0x67
mov dword [rsp + 0x20], 0xe7
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
lea ecx, [rdx - 0x32]
lea r8d, [rdx - 0x26]
call fcn.140069ef0
jmp 0x140134954
mov rbp, qword [rsp + 0x40]
mov edx, 0x67
mov dword [rsp + 0x20], 0xdd
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
lea ecx, [rdx - 0x32]
lea r8d, [rdx - 0x61]
call fcn.140069ef0
jmp 0x140134954
mov dword [rsp + 0x20], 0xc4
jmp 0x1401344ff
mov edx, 0x67
mov dword [rsp + 0x20], 0xbe
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
lea ecx, [rdx - 0x32]
lea r8d, [rdx - 0x57]
call fcn.140069ef0
mov rbp, qword [rsp + 0x40]
jmp 0x140134954
mov dword [rsp + 0x20], 0xaf
mov r8d, 0x41
mov ecx, 0x35
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
lea edx, [rcx + 0x32]
call fcn.140069ef0
mov rbp, qword [rsp + 0x40]
jmp 0x140134954
mov dword [rsp + 0x20], 0x9b
mov r8d, 0x41
jmp 0x14013493d
mov dword [rsp + 0x20], 0x8d
mov r8d, 0x44
mov edx, 0x67
lea r9, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
lea ecx, [rdx - 0x32]
call fcn.140069ef0
mov rbp, rbx
mov rcx, qword [rsp + 0x98]
call fcn.1400a03c0
mov rcx, qword [rsp + 0x90]
call fcn.1400a03c0
mov r8d, 0xfd
lea rdx, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
mov rcx, rbx
call fcn.14006a4e0
mov rcx, qword [rsp + 0x60]
lea rdx, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
mov r8d, 0xfe
call fcn.14006a4e0
mov r8d, 0xff
lea rdx, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
mov rcx, rbp
call fcn.14006a4e0
mov rcx, r12
call fcn.140074250
mov rcx, r14
call fcn.1400f4b40
mov rcx, qword [rsp + 0x50]
call fcn.1400d7ce0
mov rcx, qword [rsp + 0x58]
call fcn.1400d7ce0
mov rbx, qword [rsp + 0x100]
mov eax, edi
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret