Function at 0x55c1b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4c
call fcn.0059eec0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x3c], 0
call fcn.004a0690
mov esi, dword [esp + 0x60]
push esi
mov dword [esp + 0x20], eax
call fcn.00463360
mov edi, eax
push edi
call fcn.0045d2d0
push esi
mov dword [esp + 0x4c], eax
call fcn.00497710
push dword [esp + 0x70]
xor ebx, ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], ebx
call fcn.0049cd80
add esp, 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
cmp dword [esp + 0x1c], ebx
je 0x55c828
test eax, eax
jle 0x55c828
push edi
call fcn.0055ba50
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
jne 0x55c254
call fcn.00499720
push str.sm2_encrypt
push 0x99
jmp 0x55c837
push edi
call fcn.004c5e30
push edi
mov dword [esp + 0x28], eax
call fcn.004c5e30
add esp, 8
mov ebp, eax
mov dword [esp + 0x24], ebp
call fcn.00502a80
mov esi, eax
mov dword [esp + 0x14], esi
cmp dword [esp + 0x20], ebx
je 0x55c802
test ebp, ebp
je 0x55c802
test esi, esi
je 0x55c802
push esi
call fcn.00502b60
push esi
call fcn.00502910
push esi
mov ebp, eax
call fcn.00502910
push esi
mov dword [esp + 0x40], eax
call fcn.00502910
push esi
mov dword [esp + 0x40], eax
call fcn.00502910
push esi
mov dword [esp + 0x4c], eax
call fcn.00502910
add esp, 0x18
mov dword [esp + 0x48], eax
test eax, eax
jne 0x55c2f8
call fcn.00499720
push str.sm2_encrypt
push 0xad
push str.crypto_sm2_sm2_crypt.c
call fcn.004997d0
push 0
push 3
push 0x35
call fcn.00499810
jmp 0x55c84e
mov eax, dword [esp + 0x28]
push 0xb1
add eax, eax
push str.crypto_sm2_sm2_crypt.c
push eax
call fcn.00496750
push 0xb2
push str.crypto_sm2_sm2_crypt.c
push dword [esp + 0x4c]
mov dword [esp + 0x30], eax
call fcn.00496750
add esp, 0x18
mov dword [esp + 0x10], eax
cmp dword [esp + 0x18], ebx
je 0x55c7d5
test eax, eax
je 0x55c7d5
mov eax, dword [esp + 0x74]
push dword [eax]
push 0
push dword [esp + 0x78]
call fcn.005a0390
push dword [esp + 0x4c]
push ebp
call fcn.00518910
add esp, 0x14
test eax, eax
jne 0x55c390
call fcn.00499720
push str.sm2_encrypt
push 0xbc
push str.crypto_sm2_sm2_crypt.c
call fcn.004997d0
push 0
push 0x44
push 0x35
call fcn.00499810
mov ebp, dword [esp + 0x28]
add esp, 0x18
jmp 0x55c853
push esi
push 0
push 0
push ebp
push dword [esp + 0x30]
push edi
call fcn.004c5de0
add esp, 0x18
test eax, eax
je 0x55c7a5
push esi
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x2c]
push edi
call fcn.004c5a60
add esp, 0x14
test eax, eax
je 0x55c7a5
push esi
push ebp
push dword [esp + 0x4c]
push 0
push dword [esp + 0x34]
push edi
call fcn.004c5de0
add esp, 0x18
test eax, eax
je 0x55c7a5
mov ebp, dword [esp + 0x48]
push esi
push ebp
push dword [esp + 0x34]
push dword [esp + 0x30]
push edi
call fcn.004c5a60
add esp, 0x14
test eax, eax
je 0x55c7a5
mov edi, dword [esp + 0x28]
push edi
push dword [esp + 0x1c]
push dword [esp + 0x34]
call fcn.004b4b00
add esp, 0xc
test eax, eax
js 0x55c791
mov eax, dword [esp + 0x18]
add eax, edi
push edi
push eax
push ebp
mov dword [esp + 0x4c], eax
call fcn.004b4b00
add esp, 0xc
test eax, eax
js 0x55c791
mov esi, dword [esp + 0x6c]
push 0xce
push str.crypto_sm2_sm2_crypt.c
push esi
call fcn.00496750
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x55c48f
call fcn.00499720
push str.sm2_encrypt
push 0xd0
push str.crypto_sm2_sm2_crypt.c
call fcn.004997d0
push ebx
push 0x41
push 0x35
call fcn.00499810
mov esi, dword [esp + 0x2c]
add esp, 0x18
mov ebp, dword [esp + 0x10]
jmp 0x55c853
push dword [esp + 0x64]
lea eax, [edi + edi]
push 0
push 0
push eax
push dword [esp + 0x28]
push esi
push ebx
call fcn.0055ad80
add esp, 0x1c
test eax, eax
jne 0x55c4e1
call fcn.00499720
push str.sm2_encrypt
push 0xd7
push str.crypto_sm2_sm2_crypt.c
call fcn.004997d0
push 0
push 6
push 0x35
call fcn.00499810
mov esi, dword [esp + 0x2c]
add esp, 0x18
mov ebp, dword [esp + 0x10]
jmp 0x55c853
xor edx, edx
test esi, esi
je 0x55c5de
mov ebp, dword [esp + 0x68]
cmp esi, 8
jb 0x55c5c1
lea eax, [ebp - 1]
lea ecx, [esi - 1]
add eax, esi
add ecx, ebx
cmp ebx, eax
ja 0x55c50e
cmp ecx, ebp
jae 0x55c5c1
cmp esi, 0x40
jb 0x55c595
mov eax, esi
lea ecx, [ebp + 0x30]
and eax, 0x3f
mov edi, esi
mov esi, ebp
mov dword [esp + 0x44], eax
sub edi, eax
sub esi, ebx
mov dword [esp + 0x48], esi
lea eax, [ebx + 0x10]
mov esi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x48]
nop word [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 [eax + ebp - 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, edi
jne 0x55c540
cmp dword [esp + 0x44], 8
mov ebp, dword [esp + 0x68]
jb 0x55c5bd
mov ecx, esi
lea eax, [edx + ebx]
mov edi, ebp
and ecx, 0xfffffff8
sub edi, ebx
movq xmm1, qword [edi + 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 0x55c5a1
cmp edx, esi
je 0x55c5e2
mov edi, esi
lea ecx, [edx + ebx]
sub ebp, ebx
sub edi, edx
nop word [eax + eax]
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edi, 1
jne 0x55c5d0
mov ebp, dword [esp + 0x68]
push dword [esp + 0x64]
mov edi, dword [esp + 0x20]
push edi
call fcn.0049fb60
add esp, 8
test eax, eax
je 0x55c75d
mov edi, dword [esp + 0x28]
push edi
push dword [esp + 0x1c]
push dword [esp + 0x24]
call fcn.0049ffe0
add esp, 0xc
test eax, eax
je 0x55c75d
push esi
push ebp
push dword [esp + 0x24]
call fcn.0049ffe0
add esp, 0xc
test eax, eax
je 0x55c75d
push edi
push dword [esp + 0x44]
mov edi, dword [esp + 0x24]
push edi
call fcn.0049ffe0
mov ebp, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x55c761
push 0
push ebp
push edi
call fcn.0049f8b0
add esp, 0xc
test eax, eax
je 0x55c761
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], eax
call fcn.004c8cf0
mov dword [esp + 0x54], eax
call fcn.004c8cf0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x58], eax
test ecx, ecx
je 0x55c72d
test eax, eax
je 0x55c72d
push dword [esp + 0x38]
push ebp
push ecx
call fcn.004f1e00
add esp, 0xc
test eax, eax
je 0x55c6fd
push esi
push ebx
push dword [esp + 0x60]
call fcn.004f1e00
add esp, 0xc
test eax, eax
je 0x55c6fd
push 0x621448
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.004cc050
add esp, 0xc
test eax, eax
jns 0x55c6e6
call fcn.00499720
push str.sm2_encrypt
push 0xf9
jmp 0x55c70c
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x3c], 1
mov dword [ecx], eax
jmp 0x55c853
call fcn.00499720
push str.sm2_encrypt
push 0xf2
push str.crypto_sm2_sm2_crypt.c
call fcn.004997d0
push 0
push 0x44
push 0x35
call fcn.00499810
mov esi, dword [esp + 0x2c]
add esp, 0x18
jmp 0x55c853
call fcn.00499720
push str.sm2_encrypt
push 0xed
push str.crypto_sm2_sm2_crypt.c
call fcn.004997d0
push 0
push 0x41
push 0x35
call fcn.00499810
mov esi, dword [esp + 0x2c]
add esp, 0x18
jmp 0x55c853
mov ebp, dword [esp + 0x10]
call fcn.00499720
push str.sm2_encrypt
push 0xe3
push str.crypto_sm2_sm2_crypt.c
call fcn.004997d0
push 0
push 6
push 0x35
call fcn.00499810
mov esi, dword [esp + 0x2c]
add esp, 0x18
jmp 0x55c853
call fcn.00499720
push str.sm2_encrypt
push 0xca
jmp 0x55c36f
call fcn.00499720
push str.sm2_encrypt
push 0xc4
push str.crypto_sm2_sm2_crypt.c
call fcn.004997d0
push 0
push 0x10
push 0x35
call fcn.00499810
mov ebp, dword [esp + 0x28]
add esp, 0x18
jmp 0x55c853
call fcn.00499720
push str.sm2_encrypt
push 0xb5
push str.crypto_sm2_sm2_crypt.c
call fcn.004997d0
push 0
push 0x41
push 0x35
call fcn.00499810
mov ebp, dword [esp + 0x28]
add esp, 0x18
jmp 0x55c853
call fcn.00499720
push str.sm2_encrypt
push 0xa1
push str.crypto_sm2_sm2_crypt.c
call fcn.004997d0
push 0
push 0x41
push 0x35
call fcn.00499810
jmp 0x55c84e
call fcn.00499720
push str.sm2_encrypt
push 0x93
push str.crypto_sm2_sm2_crypt.c
call fcn.004997d0
push 0
push 0x44
push 0x35
call fcn.00499810
xor esi, esi
add esp, 0x18
xor ebp, ebp
push dword [esp + 0x58]
call fcn.004c8be0
push dword [esp + 0x58]
call fcn.004c8be0
push 0x103
push str.crypto_sm2_sm2_crypt.c
push ebx
call fcn.00496500
push 0x104
push str.crypto_sm2_sm2_crypt.c
push dword [esp + 0x34]
call fcn.00496500
push 0x105
push str.crypto_sm2_sm2_crypt.c
push ebp
call fcn.00496500
push dword [esp + 0x48]
call fcn.004a0600
push esi
call fcn.00502880
push dword [esp + 0x54]
call fcn.004c5a30
push dword [esp + 0x5c]
call fcn.004c5a30
mov eax, dword [esp + 0x78]
add esp, 0x3c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret