Function at 0x4a3511
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.00457ec4
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.004a342f
push dword [ebp + 0xc]
mov ebx, eax
mov dword [ebp - 0xc], ebx
call fcn.00466091
add esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], esi
mov edi, esi
test ebx, ebx
je 0x4a384c
test eax, eax
jle 0x4a384c
mov eax, dword [ebp + 0x1c]
push dword [eax]
push 0xff
push dword [ebp + 0x18]
call fcn.0055fb20
push dword [ebp + 0x14]
lea eax, [ebp + 0x10]
push eax
push esi
call fcn.004a3414
add esp, 0x18
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x4a359e
push 0x126
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 0x64
jmp 0x4a3840
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x20]
cmp dword [ecx], edx
je 0x4a35b9
push 0x12b
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 0x68
jmp 0x4a3840
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.00460bd6
mov dword [ebp - 8], eax
test eax, eax
jne 0x4a35e0
push 0x135
jmp 0x4a3839
push eax
call fcn.00460c34
push dword [ebp - 8]
call fcn.00460b77
push dword [ebp - 8]
mov dword [ebp - 0x28], eax
call fcn.00460b77
add esp, 0xc
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x4a3614
push 0x13e
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 3
jmp 0x4a3840
push 0x142
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push ebx
call fcn.0045ac7d
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.0045ac7d
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.0045ac7d
add esp, 0x24
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x10], esi
je 0x4a3834
cmp dword [ebp - 4], esi
je 0x4a3834
test eax, eax
je 0x4a3834
push dword [ebp - 0x14]
call fcn.00476941
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jne 0x4a3690
push 0x14d
jmp 0x4a3839
mov eax, dword [ebp - 0x24]
push dword [ebp - 8]
push dword [eax + 4]
push dword [eax]
push ecx
push dword [ebp - 0x14]
call fcn.00476a41
add esp, 0x14
test eax, eax
je 0x4a3826
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0046576d
pop ecx
push eax
mov eax, dword [ebp - 0x1c]
push eax
push esi
push eax
push dword [ebp - 0x14]
call fcn.00476903
add esp, 0x18
test eax, eax
je 0x4a3826
push dword [ebp - 8]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.0047671c
add esp, 0x14
test eax, eax
je 0x4a3826
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp - 0x28]
call fcn.0045f896
add esp, 0xc
test eax, eax
js 0x4a3818
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.0045f896
add esp, 0xc
test eax, eax
js 0x4a3818
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp - 0x30]
push dword [ebp - 4]
push ebx
push dword [ebp - 0x10]
call fcn.004a2983
add esp, 0x1c
test eax, eax
je 0x4a3818
test ebx, ebx
je 0x4a3771
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 0x4a3761
xor esi, esi
call fcn.0046c578
mov edi, eax
test edi, edi
jne 0x4a3786
push 0x167
jmp 0x4a3839
push dword [ebp + 0xc]
push edi
call fcn.0046c26b
pop ecx
pop ecx
test eax, eax
je 0x4a380a
push dword [ebp - 0xc]
push dword [ebp - 4]
push edi
call fcn.0046c409
add esp, 0xc
test eax, eax
je 0x4a380a
push ebx
push dword [ebp + 0x18]
push edi
call fcn.0046c409
add esp, 0xc
test eax, eax
je 0x4a380a
push dword [ebp - 0xc]
push dword [ebp - 0x28]
push edi
call fcn.0046c409
add esp, 0xc
test eax, eax
je 0x4a380a
push esi
push dword [ebp - 0x18]
push edi
call fcn.0046c154
add esp, 0xc
test eax, eax
je 0x4a380a
push dword [ebp - 0x20]
push dword [ebp - 0x38]
push dword [ebp - 0x18]
call fcn.004889d8
add esp, 0xc
test eax, eax
je 0x4a3800
push 0x175
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 0x66
jmp 0x4a3840
mov eax, dword [ebp + 0x1c]
xor esi, esi
inc esi
mov dword [eax], ebx
jmp 0x4a385d
push 0x170
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 6
jmp 0x4a3840
push 0x15e
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 0x44
jmp 0x4a3840
push 0x156
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 0x10
jmp 0x4a3840
push 0x147
push str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 0x41
push 0x66
push 0x35
call fcn.0045b321
add esp, 0x14
mov eax, dword [ebp + 0x1c]
push dword [eax]
push esi
push dword [ebp + 0x18]
call fcn.0055fb20
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.0045ab1e
push 0x181
push ebx
push dword [ebp - 4]
call fcn.0045ab1e
push 0x182
push ebx
push dword [ebp - 0x18]
call fcn.0045ab1e
push dword [ebp - 0x1c]
call fcn.004766ee
push dword [ebp - 8]
call fcn.00460b3b
push 0x5cf038
push dword [ebp - 0x24]
call fcn.0045d67e
push edi
call fcn.0046c559
add esp, 0x38
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret