Function at 0x4a341a
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.00457dcd
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.004a3338
push dword [ebp + 0xc]
mov ebx, eax
mov dword [ebp - 0xc], ebx
call fcn.00465f96
add esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], esi
mov edi, esi
test ebx, ebx
je 0x4a3755
test eax, eax
jle 0x4a3755
mov eax, dword [ebp + 0x1c]
push dword [eax]
push 0xff
push dword [ebp + 0x18]
call fcn.0055f7f0
push dword [ebp + 0x14]
lea eax, [ebp + 0x10]
push eax
push esi
call fcn.004a331d
add esp, 0x18
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x4a34a7
push 0x126
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 0x64
jmp 0x4a3749
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x20]
cmp dword [ecx], edx
je 0x4a34c2
push 0x12b
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 0x68
jmp 0x4a3749
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.00460adb
mov dword [ebp - 8], eax
test eax, eax
jne 0x4a34e9
push 0x135
jmp 0x4a3742
push eax
call fcn.00460b39
push dword [ebp - 8]
call fcn.00460a7c
push dword [ebp - 8]
mov dword [ebp - 0x28], eax
call fcn.00460a7c
add esp, 0xc
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x4a351d
push 0x13e
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 3
jmp 0x4a3749
push 0x142
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push ebx
call fcn.0045ab86
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.0045ab86
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.0045ab86
add esp, 0x24
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x10], esi
je 0x4a373d
cmp dword [ebp - 4], esi
je 0x4a373d
test eax, eax
je 0x4a373d
push dword [ebp - 0x14]
call fcn.00476847
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jne 0x4a3599
push 0x14d
jmp 0x4a3742
mov eax, dword [ebp - 0x24]
push dword [ebp - 8]
push dword [eax + 4]
push dword [eax]
push ecx
push dword [ebp - 0x14]
call fcn.00476947
add esp, 0x14
test eax, eax
je 0x4a372f
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00465672
pop ecx
push eax
mov eax, dword [ebp - 0x1c]
push eax
push esi
push eax
push dword [ebp - 0x14]
call fcn.00476809
add esp, 0x18
test eax, eax
je 0x4a372f
push dword [ebp - 8]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.00476622
add esp, 0x14
test eax, eax
je 0x4a372f
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp - 0x28]
call fcn.0045f79b
add esp, 0xc
test eax, eax
js 0x4a3721
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.0045f79b
add esp, 0xc
test eax, eax
js 0x4a3721
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp - 0x30]
push dword [ebp - 4]
push ebx
push dword [ebp - 0x10]
call fcn.004a288c
add esp, 0x1c
test eax, eax
je 0x4a3721
test ebx, ebx
je 0x4a367a
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 0x4a366a
xor esi, esi
call fcn.0046c47d
mov edi, eax
test edi, edi
jne 0x4a368f
push 0x167
jmp 0x4a3742
push dword [ebp + 0xc]
push edi
call fcn.0046c170
pop ecx
pop ecx
test eax, eax
je 0x4a3713
push dword [ebp - 0xc]
push dword [ebp - 4]
push edi
call fcn.0046c30e
add esp, 0xc
test eax, eax
je 0x4a3713
push ebx
push dword [ebp + 0x18]
push edi
call fcn.0046c30e
add esp, 0xc
test eax, eax
je 0x4a3713
push dword [ebp - 0xc]
push dword [ebp - 0x28]
push edi
call fcn.0046c30e
add esp, 0xc
test eax, eax
je 0x4a3713
push esi
push dword [ebp - 0x18]
push edi
call fcn.0046c059
add esp, 0xc
test eax, eax
je 0x4a3713
push dword [ebp - 0x20]
push dword [ebp - 0x38]
push dword [ebp - 0x18]
call fcn.004888dd
add esp, 0xc
test eax, eax
je 0x4a3709
push 0x175
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 0x66
jmp 0x4a3749
mov eax, dword [ebp + 0x1c]
xor esi, esi
inc esi
mov dword [eax], ebx
jmp 0x4a3766
push 0x170
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 6
jmp 0x4a3749
push 0x15e
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 0x44
jmp 0x4a3749
push 0x156
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 0x10
jmp 0x4a3749
push 0x147
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 0x41
push 0x66
push 0x35
call fcn.0045b227
add esp, 0x14
mov eax, dword [ebp + 0x1c]
push dword [eax]
push esi
push dword [ebp + 0x18]
call fcn.0055f7f0
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.0045aa27
push 0x181
push ebx
push dword [ebp - 4]
call fcn.0045aa27
push 0x182
push ebx
push dword [ebp - 0x18]
call fcn.0045aa27
push dword [ebp - 0x1c]
call fcn.004765f4
push dword [ebp - 8]
call fcn.00460a40
push 0x5cf028
push dword [ebp - 0x24]
call fcn.0045d584
push edi
call fcn.0046c45e
add esp, 0x38
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret