Function at 0x55a0f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0x34], 0
xor ebx, ebx
call fcn.004b83a0
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 0xc], eax
call fcn.004d38f0
mov edi, eax
push edi
call fcn.00506f90
push esi
mov dword [ebp - 0x38], eax
call fcn.004d3910
push dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
xor esi, esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
call fcn.004a3e00
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
cmp dword [ebp - 0xc], ebx
je 0x55a585
test eax, eax
jle 0x55a585
push edi
call fcn.00559ad0
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x55a174
push 0x93
jmp 0x55a58a
push edi
call fcn.005079e0
push edi
mov dword [ebp - 0x10], eax
call fcn.005079e0
add esp, 8
mov dword [ebp - 0x14], eax
call fcn.0051f950
mov ebx, eax
cmp dword [ebp - 0x10], esi
je 0x55a577
cmp dword [ebp - 0x14], esi
je 0x55a577
test ebx, ebx
je 0x55a577
push ebx
call fcn.0051fa40
push ebx
call fcn.0051f7f0
push ebx
mov dword [ebp - 4], eax
call fcn.0051f7f0
push ebx
mov dword [ebp - 0x28], eax
call fcn.0051f7f0
push ebx
mov dword [ebp - 0x20], eax
call fcn.0051f7f0
push ebx
mov dword [ebp - 0x2c], eax
call fcn.0051f7f0
add esp, 0x18
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x55a1f5
push 0xa7
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
push 3
jmp 0x55a591
mov eax, dword [ebp - 0x1c]
push 0xab
add eax, eax
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
push eax
mov dword [ebp - 0x40], eax
call fcn.004ad580
push 0xac
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
push dword [ebp - 0x30]
mov dword [ebp - 8], eax
call fcn.004ad580
add esp, 0x18
mov dword [ebp - 0x18], eax
cmp dword [ebp - 8], esi
je 0x55a569
test eax, eax
je 0x55a569
mov eax, dword [ebp + 0x1c]
push dword [eax]
push 0
push dword [ebp + 0x18]
call fcn.00594c60
push dword [ebp - 0x38]
push dword [ebp - 4]
call fcn.0051fd10
add esp, 0x14
test eax, eax
jne 0x55a264
push 0xb6
jmp 0x55a58a
push ebx
push 0
push 0
push dword [ebp - 4]
push dword [ebp - 0x10]
push edi
call fcn.00507990
add esp, 0x18
test eax, eax
je 0x55a55b
push ebx
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [ebp - 0x10]
push edi
call fcn.005076e0
add esp, 0x14
test eax, eax
je 0x55a55b
push ebx
push dword [ebp - 4]
push dword [ebp - 0x3c]
push 0
push dword [ebp - 0x14]
push edi
call fcn.00507990
add esp, 0x18
test eax, eax
je 0x55a55b
push ebx
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push edi
call fcn.005076e0
add esp, 0x14
test eax, eax
je 0x55a55b
mov edi, dword [ebp - 0x1c]
push edi
push dword [ebp - 8]
push dword [ebp - 0x20]
call fcn.004f6230
add esp, 0xc
test eax, eax
js 0x55a554
mov eax, dword [ebp - 8]
add eax, edi
push edi
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
call fcn.004f6230
add esp, 0xc
test eax, eax
js 0x55a554
mov edi, dword [ebp + 0x14]
push 0xc8
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
push edi
call fcn.004ad580
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x55a344
push 0xca
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
push 0x41
push 0x67
push 0x35
call fcn.004ace10
mov esi, dword [ebp - 4]
jmp 0x55a59a
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp - 0x40]
push dword [ebp - 8]
push edi
push eax
call fcn.00558fd0
add esp, 0x1c
test eax, eax
jne 0x55a37c
push 0xd1
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
push 6
push 0x67
push 0x35
call fcn.004ace10
mov esi, dword [ebp - 4]
jmp 0x55a59a
xor esi, esi
test edi, edi
je 0x55a437
mov edx, dword [ebp - 4]
cmp edi, 0x40
jb 0x55a411
mov ecx, dword [ebp + 0x10]
lea eax, [ecx - 1]
add eax, edi
cmp edx, eax
ja 0x55a3a7
lea eax, [edx - 1]
add eax, edi
cmp eax, ecx
jae 0x55a411
mov eax, edi
mov edi, ecx
and eax, 0xffffffc0
sub edi, edx
mov dword [ebp - 0x40], edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, edx
mov edx, dword [ebp - 0x40]
nop
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 [ecx + esi + 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [ecx + esi + 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [ecx + esi + 0x30]
add esi, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp esi, dword [ebp - 0x3c]
jne 0x55a3c0
mov edx, dword [ebp - 4]
cmp esi, edi
je 0x55a437
mov eax, dword [ebp + 0x10]
lea ecx, [esi + edx]
sub eax, edx
mov edx, edi
mov dword [ebp - 0x40], eax
sub edx, esi
mov edi, eax
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x55a426
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
mov esi, dword [ebp - 0xc]
push esi
call fcn.004b7e90
add esp, 8
test eax, eax
je 0x55a53a
mov esi, dword [ebp - 0x1c]
push esi
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.004b8050
add esp, 0xc
test eax, eax
je 0x55a53a
push edi
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call fcn.004b8050
add esp, 0xc
test eax, eax
je 0x55a53a
push esi
push dword [ebp - 0x38]
mov esi, dword [ebp - 0xc]
push esi
call fcn.004b8050
add esp, 0xc
test eax, eax
je 0x55a53a
push 0
push dword [ebp - 0x18]
push esi
call fcn.004b7d50
add esp, 0xc
test eax, eax
je 0x55a53a
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
call fcn.004d9370
mov dword [ebp - 0x48], eax
call fcn.004d9370
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
test ecx, ecx
je 0x55a530
test eax, eax
je 0x55a530
push dword [ebp - 0x30]
push dword [ebp - 0x18]
push ecx
call fcn.004fabb0
mov esi, dword [ebp - 4]
add esp, 0xc
test eax, eax
je 0x55a529
push edi
push esi
push dword [ebp - 0x44]
call fcn.004fabb0
add esp, 0xc
test eax, eax
je 0x55a529
push 0x62bba8
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004dbae0
add esp, 0xc
test eax, eax
jns 0x55a51b
push 0xf3
jmp 0x55a58a
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x34], 1
mov dword [ecx], eax
jmp 0x55a59d
push 0xec
jmp 0x55a58a
push 0xe7
jmp 0x55a32c
push 0xdd
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
push 6
push 0x67
push 0x35
call fcn.004ace10
mov esi, dword [ebp - 4]
jmp 0x55a59a
push 0xc4
jmp 0x55a58a
push 0xbe
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
push 0x10
jmp 0x55a591
push 0xaf
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
push 0x41
jmp 0x55a591
push 0x9b
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
push 0x41
jmp 0x55a591
push 0x8d
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
push 0x44
push 0x67
push 0x35
call fcn.004ace10
add esp, 0x14
push dword [ebp - 0x44]
call fcn.004d9350
push dword [ebp - 0x48]
call fcn.004d9350
push 0xfd
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
push esi
call fcn.004ad370
push 0xfe
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
push dword [ebp - 8]
call fcn.004ad370
push 0xff
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_sm2_sm2_crypt.c
push dword [ebp - 0x18]
call fcn.004ad370
push dword [ebp - 0xc]
call fcn.004b8380
push ebx
call fcn.0051f760
push dword [ebp - 0x10]
call fcn.005076b0
push dword [ebp - 0x14]
call fcn.005076b0
mov eax, dword [ebp - 0x34]
add esp, 0x3c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret