Function at 0x6f1dc0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x58
call fcn.0053e710
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x4c], 0
call fcn.0055ddf0
mov esi, dword [esp + 0x6c]
push esi
mov dword [esp + 0x20], eax
call fcn.0054a4d0
mov edi, eax
push edi
call fcn.005598e0
push esi
mov dword [esp + 0x5c], eax
call fcn.0054a4e0
push dword [esp + 0x7c]
xor ebp, ebp
mov dword [esp + 0x64], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], ebp
call fcn.00559780
mov ebx, eax
mov dword [esp + 0x58], ebp
push esi
mov dword [esp + 0x58], ebx
call fcn.00555020
push esi
mov dword [esp + 0x3c], eax
call fcn.005c1ec0
add esp, 0x18
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebp
cmp dword [esp + 0x1c], ebp
je 0x6f2531
test ebx, ebx
jle 0x6f2531
push edi
call fcn.0054b0a0
add esp, 4
test eax, eax
je 0x6f24fe
push eax
call fcn.005a2830
add eax, 7
add esp, 4
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x28], eax
test eax, eax
je 0x6f24fe
push edi
call fcn.005c00d0
mov ebx, eax
push edi
mov dword [esp + 0x28], ebx
call fcn.005c00d0
add esp, 8
mov dword [esp + 0x2c], eax
test ebx, ebx
je 0x6f24cb
test eax, eax
je 0x6f24cb
push dword [esp + 0x24]
call fcn.00609820
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
jne 0x6f1efb
call fcn.0054cc90
push str.ossl_sm2_encrypt
push 0x93
push str.crypto_sm2_sm2_crypt.c
call fcn.0054cd90
push 0
push 0x80003
push 0x35
call fcn.0054cea0
add esp, 0x18
xor ebx, ebx
jmp 0x6f1fec
push esi
call fcn.00609960
push esi
call fcn.00609a40
push esi
mov ebx, eax
call fcn.00609a40
push esi
mov dword [esp + 0x4c], eax
call fcn.00609a40
push esi
mov dword [esp + 0x44], eax
call fcn.00609a40
push esi
mov dword [esp + 0x58], eax
call fcn.00609a40
add esp, 0x18
mov dword [esp + 0x34], eax
test eax, eax
jne 0x6f1f49
call fcn.0054cc90
push str.ossl_sm2_encrypt
push 0x9f
jmp 0x6f1ed9
mov eax, dword [esp + 0x28]
push 0xa3
add eax, eax
push str.crypto_sm2_sm2_crypt.c
push eax
call fcn.0054c7a0
push 0xa4
push str.crypto_sm2_sm2_crypt.c
push dword [esp + 0x58]
mov dword [esp + 0x30], eax
call fcn.0054c7a0
add esp, 0x18
mov dword [esp + 0x10], eax
cmp dword [esp + 0x18], ebp
je 0x6f2542
test eax, eax
je 0x6f2542
mov eax, dword [esp + 0x80]
push dword [eax]
push 0
push dword [esp + 0x84]
call fcn.006fba50
push esi
push 0
push dword [esp + 0x64]
push ebx
call fcn.0062d1d0
add esp, 0x1c
test eax, eax
jne 0x6f206d
call fcn.0054cc90
push str.ossl_sm2_encrypt
push 0xac
push str.crypto_sm2_sm2_crypt.c
call fcn.0054cd90
push 0
push 0xc0103
push 0x35
call fcn.0054cea0
add esp, 0x18
mov ebx, dword [esp + 0x10]
push dword [esp + 0x48]
call fcn.0055ea60
push dword [esp + 0x68]
call fcn.00554810
push dword [esp + 0x68]
call fcn.00554810
push 0xf7
push str.crypto_sm2_sm2_crypt.c
push ebp
call fcn.0054c6e0
push 0xf8
push str.crypto_sm2_sm2_crypt.c
push dword [esp + 0x38]
call fcn.0054c6e0
push 0xf9
push str.crypto_sm2_sm2_crypt.c
push ebx
call fcn.0054c6e0
push dword [esp + 0x4c]
call fcn.0055de20
push esi
call fcn.006098d0
push dword [esp + 0x58]
call fcn.005c0190
push dword [esp + 0x68]
call fcn.005c0190
mov eax, dword [esp + 0x8c]
add esp, 0x40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
push esi
push 0
push 0
push ebx
push dword [esp + 0x30]
push edi
call fcn.005c0a90
add esp, 0x18
test eax, eax
je 0x6f24a6
push esi
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x2c]
push edi
call fcn.005c0570
add esp, 0x14
test eax, eax
je 0x6f24a6
push esi
push ebx
push dword [esp + 0x5c]
mov ebx, dword [esp + 0x38]
push 0
push ebx
push edi
call fcn.005c0a90
add esp, 0x18
test eax, eax
je 0x6f24a6
push esi
push dword [esp + 0x38]
push dword [esp + 0x38]
push ebx
push edi
call fcn.005c0570
add esp, 0x14
test eax, eax
je 0x6f24a6
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
push ebx
push edi
push dword [esp + 0x38]
call fcn.005a2b80
add esp, 0xc
test eax, eax
js 0x6f2492
lea eax, [ebx + edi]
push ebx
push eax
push dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
call fcn.005a2b80
add esp, 0xc
test eax, eax
js 0x6f2492
mov edi, dword [esp + 0x78]
push 0xbe
push str.crypto_sm2_sm2_crypt.c
push edi
call fcn.0054c7a0
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x6f1fe8
push dword [esp + 0x38]
lea eax, [ebx + ebx]
push dword [esp + 0x28]
push dword [esp + 0x78]
push 0
push 0
push eax
push dword [esp + 0x30]
push edi
push ebp
call fcn.0067b500
add esp, 0x24
test eax, eax
jne 0x6f2186
call fcn.0054cc90
push str.ossl_sm2_encrypt
push 0xc5
push str.crypto_sm2_sm2_crypt.c
call fcn.0054cd90
push 0
push 0x80006
jmp 0x6f1fde
xor edx, edx
test edi, edi
je 0x6f227e
mov ebx, dword [esp + 0x74]
cmp edi, 8
jb 0x6f2261
lea eax, [ebx - 1]
lea ecx, [edi - 1]
add eax, edi
add ecx, ebp
cmp ebp, eax
ja 0x6f21b3
cmp ecx, ebx
jae 0x6f2261
cmp edi, 0x40
jb 0x6f2235
mov eax, edi
lea ecx, [ebx + 0x30]
and eax, 0x3f
mov esi, edi
mov edi, ebx
mov dword [esp + 0x50], eax
sub esi, eax
sub edi, ebp
mov dword [esp + 0x54], edi
lea eax, [ebp + 0x10]
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x54]
nop dword [eax + eax]
movups xmm0, xmmword [eax - 0x10]
add edx, 0x40
lea ecx, [ecx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx - 0x70]
xorps xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [ebx + eax - 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx - 0x50]
xorps xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
movups xmm0, xmmword [ecx - 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, esi
jne 0x6f21e0
cmp dword [esp + 0x50], 8
mov ebx, dword [esp + 0x74]
jb 0x6f225d
mov ecx, edi
lea eax, [edx + ebp]
mov esi, ebx
and ecx, 0xfffffff8
sub esi, ebp
movq xmm1, qword [esi + eax]
lea eax, [eax + 8]
movq xmm0, qword [eax - 8]
add edx, 8
xorps xmm1, xmm0
movq qword [eax - 8], xmm1
cmp edx, ecx
jne 0x6f2241
cmp edx, edi
je 0x6f2282
mov esi, edi
lea ecx, [edx + ebp]
sub ebx, ebp
sub esi, edx
nop word [eax + eax]
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x6f2270
mov ebx, dword [esp + 0x74]
push dword [esp + 0x38]
push dword [esp + 0x74]
call fcn.00559700
add esp, 4
push eax
push dword [esp + 0x2c]
call fcn.0055ea10
add esp, 0xc
mov dword [esp + 0x48], eax
test eax, eax
jne 0x6f22d7
call fcn.0054cc90
push str.ossl_sm2_encrypt
push 0xce
push str.crypto_sm2_sm2_crypt.c
call fcn.0054cd90
push 0
push 0xc0103
push 0x35
call fcn.0054cea0
mov esi, dword [esp + 0x2c]
jmp 0x6f1fe5
mov esi, dword [esp + 0x1c]
push eax
push esi
call fcn.0055e800
add esp, 8
test eax, eax
je 0x6f245b
mov esi, dword [esp + 0x28]
push esi
push dword [esp + 0x1c]
push dword [esp + 0x24]
call fcn.0055e2e0
add esp, 0xc
test eax, eax
je 0x6f245b
push edi
push ebx
push dword [esp + 0x24]
call fcn.0055e2e0
add esp, 0xc
test eax, eax
je 0x6f245b
push esi
push dword [esp + 0x34]
mov esi, dword [esp + 0x24]
push esi
call fcn.0055e2e0
mov ebx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x6f245f
push 0
push ebx
push esi
call fcn.0055e820
add esp, 0xc
test eax, eax
je 0x6f245f
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x5c], eax
call fcn.005548c0
mov dword [esp + 0x60], eax
call fcn.005548c0
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x64], eax
test ecx, ecx
je 0x6f2428
test eax, eax
je 0x6f2428
push dword [esp + 0x44]
push ebx
push ecx
call fcn.005cdc30
add esp, 0xc
test eax, eax
je 0x6f23f5
push edi
push ebp
push dword [esp + 0x6c]
call fcn.005cdc30
add esp, 0xc
test eax, eax
je 0x6f23f5
push 0x78cc38
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00596d40
add esp, 0xc
test eax, eax
jns 0x6f23db
call fcn.0054cc90
push str.ossl_sm2_encrypt
push 0xec
jmp 0x6f2404
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x4c], 1
mov dword [ecx], eax
jmp 0x6f1fec
call fcn.0054cc90
push str.ossl_sm2_encrypt
push 0xe5
push str.crypto_sm2_sm2_crypt.c
call fcn.0054cd90
push 0
push 0xc0103
push 0x35
call fcn.0054cea0
mov esi, dword [esp + 0x2c]
add esp, 0x18
jmp 0x6f1fec
call fcn.0054cc90
push str.ossl_sm2_encrypt
push 0xe0
push str.crypto_sm2_sm2_crypt.c
call fcn.0054cd90
push 0
push 0x8000d
push 0x35
call fcn.0054cea0
mov esi, dword [esp + 0x2c]
add esp, 0x18
jmp 0x6f1fec
mov ebx, dword [esp + 0x10]
call fcn.0054cc90
push str.ossl_sm2_encrypt
push 0xd6
push str.crypto_sm2_sm2_crypt.c
call fcn.0054cd90
push 0
push 0x80006
push 0x35
call fcn.0054cea0
mov esi, dword [esp + 0x2c]
add esp, 0x18
jmp 0x6f1fec
call fcn.0054cc90
push str.ossl_sm2_encrypt
push 0xba
jmp 0x6f1fcd
call fcn.0054cc90
push str.ossl_sm2_encrypt
push 0xb4
push str.crypto_sm2_sm2_crypt.c
call fcn.0054cd90
push 0
push 0x80010
jmp 0x6f1fde
call fcn.0054cc90
push str.ossl_sm2_encrypt
push 0x8e
push str.crypto_sm2_sm2_crypt.c
call fcn.0054cd90
push 0
push 0x80010
push 0x35
call fcn.0054cea0
add esp, 0x18
xor esi, esi
xor ebx, ebx
jmp 0x6f1fec
call fcn.0054cc90
push str.ossl_sm2_encrypt
push 0x87
push str.crypto_sm2_sm2_crypt.c
call fcn.0054cd90
push 0
push 0xc0103
push 0x35
call fcn.0054cea0
add esp, 0x18
xor esi, esi
xor ebx, ebx
jmp 0x6f1fec
call fcn.0054cc90
push str.ossl_sm2_encrypt
push 0x81
jmp 0x6f250d
mov ebx, eax
jmp 0x6f1fec