Function at 0x6c1930
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x5c
call fcn.006dbb70
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x48], 0
call fcn.005d0160
mov esi, dword [esp + 0x70]
push esi
mov dword [esp + 0x20], eax
call fcn.004aded0
mov edi, eax
push edi
call fcn.005a9750
push esi
mov dword [esp + 0x58], eax
call fcn.005bb150
push dword [esp + 0x80]
xor ebp, ebp
mov dword [esp + 0x60], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], ebp
call fcn.005bb6e0
mov ebx, eax
mov dword [esp + 0x54], ebp
push esi
mov dword [esp + 0x54], ebx
call fcn.0061f7b0
push esi
mov dword [esp + 0x40], eax
call fcn.0061f7a0
add esp, 0x18
mov dword [esp + 0x34], eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebp
cmp dword [esp + 0x1c], ebp
je 0x6c2029
test ebx, ebx
jle 0x6c2029
push edi
call fcn.006c1170
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x6c19f1
call fcn.005bc180
push str.ossl_sm2_encrypt
push 0x94
jmp 0x6c2038
push edi
call fcn.0061db20
push edi
mov dword [esp + 0x28], eax
call fcn.0061db20
push dword [esp + 0x30]
mov ebx, eax
mov dword [esp + 0x30], ebx
call fcn.00604970
add esp, 0xc
mov esi, eax
mov dword [esp + 0x18], esi
cmp dword [esp + 0x20], ebp
je 0x6c2000
test ebx, ebx
je 0x6c2000
test esi, esi
je 0x6c2000
push esi
call fcn.00604a40
push esi
call fcn.006047f0
push esi
mov ebx, eax
call fcn.006047f0
push esi
mov dword [esp + 0x48], eax
call fcn.006047f0
push esi
mov dword [esp + 0x44], eax
call fcn.006047f0
push esi
mov dword [esp + 0x54], eax
call fcn.006047f0
add esp, 0x18
mov dword [esp + 0x54], eax
test eax, eax
jne 0x6c1a9c
call fcn.005bc180
push str.ossl_sm2_encrypt
push 0xa8
push str.crypto_sm2_sm2_crypt.c
call fcn.005bc280
push 0
push 0x80003
push 0x35
call fcn.005bc330
jmp 0x6c2052
mov eax, dword [esp + 0x2c]
push 0xac
add eax, eax
push str.crypto_sm2_sm2_crypt.c
push eax
mov dword [esp + 0x64], eax
call fcn.005b6ff0
push 0xad
push str.crypto_sm2_sm2_crypt.c
push dword [esp + 0x54]
mov dword [esp + 0x2c], eax
call fcn.005b6ff0
add esp, 0x18
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], ebp
je 0x6c1fd0
test eax, eax
je 0x6c1fd0
mov eax, dword [esp + 0x84]
push dword [eax]
push 0
push dword [esp + 0x88]
call sub.VCRUNTIME140.dll_memset
push esi
push 0
push dword [esp + 0x60]
push ebx
call fcn.006973c0
add esp, 0x1c
test eax, eax
jne 0x6c1b44
call fcn.005bc180
push str.ossl_sm2_encrypt
push 0xb7
push str.crypto_sm2_sm2_crypt.c
call fcn.005bc280
push 0
push 0xc0103
push 0x35
call fcn.005bc330
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x6c2057
push esi
push 0
push 0
push ebx
push dword [esp + 0x30]
push edi
call fcn.0061d9e0
add esp, 0x18
test eax, eax
je 0x6c1f9d
push esi
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x2c]
push edi
call fcn.0061d6f0
add esp, 0x14
test eax, eax
je 0x6c1f9d
push esi
push ebx
push dword [esp + 0x58]
push 0
push dword [esp + 0x34]
push edi
call fcn.0061d9e0
add esp, 0x18
test eax, eax
je 0x6c1f9d
mov ebx, dword [esp + 0x54]
push esi
push ebx
push dword [esp + 0x38]
push dword [esp + 0x30]
push edi
call fcn.0061d6f0
add esp, 0x14
test eax, eax
je 0x6c1f9d
mov edi, dword [esp + 0x2c]
push edi
push dword [esp + 0x18]
push dword [esp + 0x38]
call fcn.005c6870
add esp, 0xc
test eax, eax
js 0x6c1f89
mov eax, dword [esp + 0x14]
add eax, edi
push edi
push eax
push ebx
mov dword [esp + 0x5c], eax
call fcn.005c6870
add esp, 0xc
test eax, eax
js 0x6c1f89
mov edi, dword [esp + 0x7c]
push 0xc9
push str.crypto_sm2_sm2_crypt.c
push edi
call fcn.005b6ff0
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x6c1c24
call fcn.005bc180
push str.ossl_sm2_encrypt
push 0xcb
jmp 0x6c1fdf
push dword [esp + 0x34]
push dword [esp + 0x2c]
push dword [esp + 0x7c]
push 0
push 0
push dword [esp + 0x6c]
push dword [esp + 0x2c]
push edi
push ebp
call fcn.00622110
add esp, 0x24
test eax, eax
jne 0x6c1c7d
call fcn.005bc180
push str.ossl_sm2_encrypt
push 0xd2
push str.crypto_sm2_sm2_crypt.c
call fcn.005bc280
push 0
push 0x80006
push 0x35
call fcn.005bc330
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x6c2057
xor edx, edx
test edi, edi
je 0x6c1d6e
mov ebx, dword [esp + 0x78]
cmp edi, 8
jb 0x6c1d53
lea eax, [ebx - 1]
lea ecx, [edi - 1]
add eax, edi
add ecx, ebp
cmp ebp, eax
ja 0x6c1caa
cmp ecx, ebx
jae 0x6c1d53
cmp edi, 0x40
jb 0x6c1d27
mov eax, edi
lea ecx, [ebx + 0x30]
and eax, 0x3f
mov esi, edi
mov edi, ebx
mov dword [esp + 0x54], eax
sub esi, eax
sub edi, ebp
mov dword [esp + 0x58], edi
lea eax, [ebp + 0x10]
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x58]
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 0x6c1cd2
cmp dword [esp + 0x54], 8
mov ebx, dword [esp + 0x78]
jb 0x6c1d4f
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 0x6c1d33
cmp edx, edi
je 0x6c1d72
mov esi, edi
lea ecx, [edx + ebp]
sub ebx, ebp
sub esi, edx
nop dword [eax]
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x6c1d60
mov ebx, dword [esp + 0x78]
push dword [esp + 0x34]
push dword [esp + 0x78]
call fcn.005bb670
add esp, 4
push eax
push dword [esp + 0x30]
call fcn.005d01f0
add esp, 0xc
mov dword [esp + 0x44], eax
test eax, eax
jne 0x6c1dce
call fcn.005bc180
push str.ossl_sm2_encrypt
push 0xdb
push str.crypto_sm2_sm2_crypt.c
call fcn.005bc280
push 0
push 0xc0103
push 0x35
call fcn.005bc330
mov esi, dword [esp + 0x30]
add esp, 0x18
mov ebx, dword [esp + 0x10]
jmp 0x6c2057
mov esi, dword [esp + 0x1c]
push eax
push esi
call fcn.005cfaf0
add esp, 8
test eax, eax
je 0x6c1f52
mov esi, dword [esp + 0x2c]
push esi
push dword [esp + 0x18]
push dword [esp + 0x24]
call fcn.005cfb50
add esp, 0xc
test eax, eax
je 0x6c1f52
push edi
push ebx
push dword [esp + 0x24]
call fcn.005cfb50
add esp, 0xc
test eax, eax
je 0x6c1f52
push esi
push dword [esp + 0x54]
mov esi, dword [esp + 0x24]
push esi
call fcn.005cfb50
mov ebx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x6c1f56
push 0
push ebx
push esi
call fcn.005cf810
add esp, 0xc
test eax, eax
je 0x6c1f56
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x60], eax
call fcn.005cf0c0
mov dword [esp + 0x64], eax
call fcn.005cf0c0
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x68], eax
test ecx, ecx
je 0x6c1f1f
test eax, eax
je 0x6c1f1f
push dword [esp + 0x40]
push ebx
push ecx
call fcn.005ebe10
add esp, 0xc
test eax, eax
je 0x6c1eec
push edi
push ebp
push dword [esp + 0x70]
call fcn.005ebe10
add esp, 0xc
test eax, eax
je 0x6c1eec
push 0x76e950
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.005eae00
add esp, 0xc
test eax, eax
jns 0x6c1ed2
call fcn.005bc180
push str.ossl_sm2_encrypt
push 0xf9
jmp 0x6c1efb
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x48], 1
mov dword [ecx], eax
jmp 0x6c2057
call fcn.005bc180
push str.ossl_sm2_encrypt
push 0xf2
push str.crypto_sm2_sm2_crypt.c
call fcn.005bc280
push 0
push 0xc0103
push 0x35
call fcn.005bc330
mov esi, dword [esp + 0x30]
add esp, 0x18
jmp 0x6c2057
call fcn.005bc180
push str.ossl_sm2_encrypt
push 0xed
push str.crypto_sm2_sm2_crypt.c
call fcn.005bc280
push 0
push 0xc0100
push 0x35
call fcn.005bc330
mov esi, dword [esp + 0x30]
add esp, 0x18
jmp 0x6c2057
mov ebx, dword [esp + 0x10]
call fcn.005bc180
push str.ossl_sm2_encrypt
push 0xe3
push str.crypto_sm2_sm2_crypt.c
call fcn.005bc280
push 0
push 0x80006
push 0x35
call fcn.005bc330
mov esi, dword [esp + 0x30]
add esp, 0x18
jmp 0x6c2057
call fcn.005bc180
push str.ossl_sm2_encrypt
push 0xc5
jmp 0x6c1b20
call fcn.005bc180
push str.ossl_sm2_encrypt
push 0xbf
push str.crypto_sm2_sm2_crypt.c
call fcn.005bc280
push 0
push 0x80010
push 0x35
call fcn.005bc330
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x6c2057
call fcn.005bc180
push str.ossl_sm2_encrypt
push 0xb0
push str.crypto_sm2_sm2_crypt.c
call fcn.005bc280
push 0
push 0xc0100
push 0x35
call fcn.005bc330
mov ebx, dword [esp + 0x28]
add esp, 0x18
jmp 0x6c2057
call fcn.005bc180
push str.ossl_sm2_encrypt
push 0x9c
push str.crypto_sm2_sm2_crypt.c
call fcn.005bc280
push 0
push 0xc0100
push 0x35
call fcn.005bc330
jmp 0x6c2052
call fcn.005bc180
push str.ossl_sm2_encrypt
push 0x8e
push str.crypto_sm2_sm2_crypt.c
call fcn.005bc280
push 0
push 0xc0103
push 0x35
call fcn.005bc330
xor esi, esi
add esp, 0x18
xor ebx, ebx
push dword [esp + 0x44]
call fcn.005d0220
push dword [esp + 0x6c]
call fcn.005cefb0
push dword [esp + 0x6c]
call fcn.005cefb0
push 0x104
push str.crypto_sm2_sm2_crypt.c
push ebp
call fcn.005b6da0
push 0x105
push str.crypto_sm2_sm2_crypt.c
push dword [esp + 0x34]
call fcn.005b6da0
push 0x106
push str.crypto_sm2_sm2_crypt.c
push ebx
call fcn.005b6da0
push dword [esp + 0x4c]
call fcn.005d00d0
push esi
call fcn.00604760
push dword [esp + 0x58]
call fcn.0061d6c0
push dword [esp + 0x60]
call fcn.0061d6c0
mov eax, dword [esp + 0x88]
add esp, 0x40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret