Function at 0x5953f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x58
call fcn.0047a3d0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x48], 0
xor ebx, ebx
call fcn.0047eef0
mov esi, dword [esp + 0x6c]
push esi
mov dword [esp + 0x18], eax
call fcn.0047da40
mov edi, eax
push edi
call fcn.00492420
push esi
mov dword [esp + 0x58], eax
call fcn.0047d8b0
push dword [esp + 0x7c]
mov dword [esp + 0x60], eax
xor ebp, ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], ebx
call fcn.00494e50
push esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], ebx
call fcn.0049e740
push esi
mov dword [esp + 0x40], eax
call fcn.0049e730
add esp, 0x18
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
cmp dword [esp + 0x14], ebx
je 0x5959b6
cmp dword [esp + 0x2c], ebx
jle 0x5959b6
push edi
call fcn.00594c80
mov esi, eax
add esp, 4
mov dword [esp + 0x54], esi
test esi, esi
jne 0x5954ae
call fcn.00486d10
push str.ossl_sm2_encrypt
push 0x94
jmp 0x5959c5
push edi
call fcn.004a5020
push edi
mov dword [esp + 0x24], eax
call fcn.004a5020
push dword [esp + 0x30]
mov dword [esp + 0x2c], eax
call fcn.0048aef0
add esp, 0xc
mov ebx, eax
cmp dword [esp + 0x1c], ebp
je 0x5959a2
cmp dword [esp + 0x20], ebp
je 0x5959a2
test ebx, ebx
je 0x5959a2
push ebx
call fcn.0048afc0
push ebx
call fcn.0048ad60
push ebx
mov dword [esp + 0x24], eax
call fcn.0048ad60
push ebx
mov dword [esp + 0x4c], eax
call fcn.0048ad60
push ebx
mov dword [esp + 0x44], eax
call fcn.0048ad60
push ebx
mov dword [esp + 0x58], eax
call fcn.0048ad60
add esp, 0x18
mov dword [esp + 0x34], eax
test eax, eax
jne 0x595550
call fcn.00486d10
push str.ossl_sm2_encrypt
push 0xa8
push str.crypto_sm2_sm2_crypt.c
call fcn.00486e10
push 0
push 0x80003
jmp 0x5959d6
push 0xac
lea eax, [esi + esi]
push str.crypto_sm2_sm2_crypt.c
push eax
call fcn.00486a30
push 0xad
push str.crypto_sm2_sm2_crypt.c
push dword [esp + 0x40]
mov dword [esp + 0x28], eax
call fcn.00486a30
add esp, 0x18
mov dword [esp + 0x24], eax
cmp dword [esp + 0x10], ebp
je 0x59598e
test eax, eax
je 0x59598e
mov eax, dword [esp + 0x80]
push dword [eax]
push 0
push dword [esp + 0x84]
call fcn.0059f880
push ebx
push 0
push dword [esp + 0x60]
push dword [esp + 0x30]
call fcn.004bade0
add esp, 0x1c
test eax, eax
jne 0x5955d5
call fcn.00486d10
push str.ossl_sm2_encrypt
push 0xb7
jmp 0x5959c5
push ebx
push 0
push 0
push dword [esp + 0x24]
push dword [esp + 0x2c]
push edi
call fcn.004a4ee0
add esp, 0x18
test eax, eax
je 0x59596c
push ebx
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x28]
push edi
call fcn.004a4bf0
add esp, 0x14
test eax, eax
je 0x59596c
push ebx
push dword [esp + 0x1c]
push dword [esp + 0x58]
push 0
push dword [esp + 0x30]
push edi
call fcn.004a4ee0
add esp, 0x18
test eax, eax
je 0x59596c
push ebx
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x2c]
push edi
call fcn.004a4bf0
add esp, 0x14
test eax, eax
je 0x59596c
mov edi, dword [esp + 0x10]
push esi
push edi
push dword [esp + 0x38]
call fcn.00489b70
add esp, 0xc
test eax, eax
js 0x59595b
lea eax, [esi + edi]
push esi
push eax
push dword [esp + 0x3c]
mov dword [esp + 0x58], eax
call fcn.00489b70
add esp, 0xc
test eax, eax
js 0x59595b
mov edi, dword [esp + 0x78]
push 0xc9
push str.crypto_sm2_sm2_crypt.c
push edi
call fcn.00486a30
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x5956cc
call fcn.00486d10
push str.ossl_sm2_encrypt
push 0xcb
push str.crypto_sm2_sm2_crypt.c
call fcn.00486e10
push 0
push 0xc0100
jmp 0x5959d6
push dword [esp + 0x38]
lea eax, [esi + esi]
push dword [esp + 0x2c]
push dword [esp + 0x78]
push 0
push 0
push eax
push dword [esp + 0x28]
push edi
push ebp
call fcn.004f31c0
add esp, 0x24
test eax, eax
jne 0x595717
call fcn.00486d10
push str.ossl_sm2_encrypt
push 0xd2
push str.crypto_sm2_sm2_crypt.c
call fcn.00486e10
push 0
push 0x80006
jmp 0x5959d6
xor esi, esi
test edi, edi
je 0x5957c5
mov edx, ebp
mov ebp, dword [esp + 0x74]
cmp edi, 0x40
jb 0x5957a6
lea eax, [ebp - 1]
lea ecx, [edx - 1]
add eax, edi
add ecx, edi
cmp edx, eax
ja 0x59573e
cmp ecx, ebp
jae 0x5957a6
mov ecx, edi
mov eax, edx
mov edi, ebp
and ecx, 0xffffffc0
sub edi, edx
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x50]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [esi + ebp + 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [esi + ebp + 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [esi + ebp + 0x30]
add esi, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp esi, ecx
jne 0x595755
mov edx, dword [esp + 0x18]
cmp esi, edi
je 0x5957c1
lea ecx, [esi + edx]
sub ebp, edx
mov edx, edi
sub edx, esi
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x5957b3
mov ebp, dword [esp + 0x18]
push dword [esp + 0x38]
push dword [esp + 0x74]
call fcn.00494de0
add esp, 4
push eax
push dword [esp + 0x30]
call fcn.0047ef80
add esp, 0xc
mov dword [esp + 0x44], eax
test eax, eax
jne 0x5957fe
call fcn.00486d10
push str.ossl_sm2_encrypt
push 0xdb
jmp 0x5959c5
push eax
push dword [esp + 0x18]
call fcn.0047e9d0
add esp, 8
test eax, eax
je 0x595947
mov esi, dword [esp + 0x54]
push esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
call fcn.0047ea30
add esp, 0xc
test eax, eax
je 0x595947
push edi
push dword [esp + 0x78]
push dword [esp + 0x1c]
call fcn.0047ea30
add esp, 0xc
test eax, eax
je 0x595947
push esi
push dword [esp + 0x50]
mov esi, dword [esp + 0x1c]
push esi
call fcn.0047ea30
add esp, 0xc
test eax, eax
je 0x595947
push 0
push dword [esp + 0x28]
push esi
call fcn.0047e6f0
add esp, 0xc
test eax, eax
je 0x595947
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x5c], eax
call fcn.004bed50
mov dword [esp + 0x60], eax
call fcn.004bed50
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x64], eax
test ecx, ecx
je 0x595933
test eax, eax
je 0x595933
push dword [esp + 0x2c]
push dword [esp + 0x28]
push ecx
call fcn.004e0410
add esp, 0xc
test eax, eax
je 0x59591f
push edi
push ebp
push dword [esp + 0x6c]
call fcn.004e0410
add esp, 0xc
test eax, eax
je 0x59591f
push 0x646dc8
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.004c1ea0
add esp, 0xc
test eax, eax
jns 0x595909
call fcn.00486d10
push str.ossl_sm2_encrypt
push 0xf9
jmp 0x5959c5
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x48], 1
mov dword [ecx], eax
jmp 0x5959e0
call fcn.00486d10
push str.ossl_sm2_encrypt
push 0xf2
jmp 0x5959c5
call fcn.00486d10
push str.ossl_sm2_encrypt
push 0xed
jmp 0x5956b6
call fcn.00486d10
push str.ossl_sm2_encrypt
push 0xe3
jmp 0x595701
call fcn.00486d10
push str.ossl_sm2_encrypt
push 0xc5
jmp 0x5959c5
call fcn.00486d10
push str.ossl_sm2_encrypt
push 0xbf
push str.crypto_sm2_sm2_crypt.c
call fcn.00486e10
push 0
push 0x80010
jmp 0x5959d6
call fcn.00486d10
push str.ossl_sm2_encrypt
push 0xb0
jmp 0x5956b6
call fcn.00486d10
push str.ossl_sm2_encrypt
push 0x9c
jmp 0x5956b6
call fcn.00486d10
push str.ossl_sm2_encrypt
push 0x8e
push str.crypto_sm2_sm2_crypt.c
call fcn.00486e10
push 0
push 0xc0103
push 0x35
call fcn.00486ec0
add esp, 0x18
push dword [esp + 0x44]
call fcn.0047efb0
push dword [esp + 0x68]
call fcn.004bec40
push dword [esp + 0x68]
call fcn.004bec40
push 0x104
push str.crypto_sm2_sm2_crypt.c
push ebp
call fcn.00486820
push 0x105
push str.crypto_sm2_sm2_crypt.c
push dword [esp + 0x30]
call fcn.00486820
push 0x106
push str.crypto_sm2_sm2_crypt.c
push dword [esp + 0x50]
call fcn.00486820
push dword [esp + 0x44]
call fcn.0047ee60
push ebx
call fcn.0048acd0
push dword [esp + 0x54]
call fcn.004a4bc0
push dword [esp + 0x5c]
call fcn.004a4bc0
mov eax, dword [esp + 0x88]
add esp, 0x40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret