Function at 0x5ee419
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 8], esi
call fcn.00546fff
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
call fcn.005ee337
push dword [ebp + 0xc]
mov ebx, eax
mov dword [ebp - 0xc], ebx
call fcn.0054f2fe
add esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], esi
mov edi, esi
test ebx, ebx
je 0x5ee754
test eax, eax
jle 0x5ee754
mov eax, dword [ebp + 0x1c]
push dword [eax]
push 0xff
push dword [ebp + 0x18]
call fcn.00739c90
push dword [ebp + 0x14]
lea eax, [ebp + 0x10]
push eax
push esi
call fcn.005ee31c
add esp, 0x18
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5ee4a6
push 0x126
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 0x64
jmp 0x5ee748
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x20]
cmp dword [ecx], edx
je 0x5ee4c1
push 0x12b
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 0x68
jmp 0x5ee748
mov eax, dword [eax + 0xc]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x38], ecx
mov edx, dword [eax + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x34], edx
call fcn.00564eb1
mov dword [ebp - 8], eax
test eax, eax
jne 0x5ee4e8
push 0x135
jmp 0x5ee741
push eax
call fcn.00564f0f
push dword [ebp - 8]
call fcn.00564e52
push dword [ebp - 8]
mov dword [ebp - 0x28], eax
call fcn.00564e52
add esp, 0xc
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x5ee51c
push 0x13e
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 3
jmp 0x5ee748
push 0x142
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push ebx
call fcn.005543fe
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
push 0x143
add eax, eax
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push eax
mov dword [ebp - 0x30], eax
call fcn.005543fe
push 0x144
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push dword [ebp - 0x20]
mov dword [ebp - 4], eax
call fcn.005543fe
add esp, 0x24
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x10], esi
je 0x5ee73c
cmp dword [ebp - 4], esi
je 0x5ee73c
test eax, eax
je 0x5ee73c
push dword [ebp - 0x14]
call fcn.0057cc34
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jne 0x5ee598
push 0x14d
jmp 0x5ee741
mov eax, dword [ebp - 0x24]
push dword [ebp - 8]
push dword [eax + 4]
push dword [eax]
push ecx
push dword [ebp - 0x14]
call fcn.0057cd34
add esp, 0x14
test eax, eax
je 0x5ee72e
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00569a78
pop ecx
push eax
mov eax, dword [ebp - 0x1c]
push eax
push esi
push eax
push dword [ebp - 0x14]
call fcn.0057cbf6
add esp, 0x18
test eax, eax
je 0x5ee72e
push dword [ebp - 8]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.0057ca0f
add esp, 0x14
test eax, eax
je 0x5ee72e
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp - 0x28]
call fcn.0054d0dc
add esp, 0xc
test eax, eax
js 0x5ee720
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, eax
push eax
push ecx
push dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
call fcn.0054d0dc
add esp, 0xc
test eax, eax
js 0x5ee720
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp - 0x30]
push dword [ebp - 4]
push ebx
push dword [ebp - 0x10]
call fcn.005ed8dc
add esp, 0x1c
test eax, eax
je 0x5ee720
test ebx, ebx
je 0x5ee679
mov eax, dword [ebp - 0x10]
mov edi, ebx
mov esi, dword [ebp - 0x34]
mov ecx, eax
mov edx, dword [ebp + 0x18]
sub esi, eax
sub edx, eax
mov al, byte [esi + ecx]
xor al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
sub edi, 1
jne 0x5ee669
xor esi, esi
call fcn.005702ef
mov edi, eax
test edi, edi
jne 0x5ee68e
push 0x167
jmp 0x5ee741
push dword [ebp + 0xc]
push edi
call fcn.0056ffa1
pop ecx
pop ecx
test eax, eax
je 0x5ee712
push dword [ebp - 0xc]
push dword [ebp - 4]
push edi
call fcn.0057013f
add esp, 0xc
test eax, eax
je 0x5ee712
push ebx
push dword [ebp + 0x18]
push edi
call fcn.0057013f
add esp, 0xc
test eax, eax
je 0x5ee712
push dword [ebp - 0xc]
push dword [ebp - 0x28]
push edi
call fcn.0057013f
add esp, 0xc
test eax, eax
je 0x5ee712
push esi
push dword [ebp - 0x18]
push edi
call fcn.0056fe8a
add esp, 0xc
test eax, eax
je 0x5ee712
push dword [ebp - 0x20]
push dword [ebp - 0x38]
push dword [ebp - 0x18]
call fcn.0055446a
add esp, 0xc
test eax, eax
je 0x5ee708
push 0x175
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 0x66
jmp 0x5ee748
mov eax, dword [ebp + 0x1c]
xor esi, esi
inc esi
mov dword [eax], ebx
jmp 0x5ee765
push 0x170
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 6
jmp 0x5ee748
push 0x15e
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 0x44
jmp 0x5ee748
push 0x156
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 0x10
jmp 0x5ee748
push 0x147
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 0x41
push 0x66
push 0x35
call fcn.00553208
add esp, 0x14
mov eax, dword [ebp + 0x1c]
push dword [eax]
push esi
push dword [ebp + 0x18]
call fcn.00739c90
add esp, 0xc
push 0x180
mov ebx, str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push ebx
push dword [ebp - 0x10]
call fcn.0055429f
push 0x181
push ebx
push dword [ebp - 4]
call fcn.0055429f
push 0x182
push ebx
push dword [ebp - 0x18]
call fcn.0055429f
push dword [ebp - 0x1c]
call fcn.0057c9e1
push dword [ebp - 8]
call fcn.00564e16
push 0x84b910
push dword [ebp - 0x24]
call fcn.00562d27
push edi
call fcn.005702d0
add esp, 0x38
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret