Function at 0x4a37c2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 8], edi
call fcn.0046c47d
push dword [ebp + 8]
mov esi, eax
mov dword [ebp - 0x10], esi
call fcn.00457dcd
mov ebx, eax
push ebx
call fcn.00456734
push dword [ebp + 8]
mov dword [ebp - 0x3c], eax
call fcn.00455ae6
push dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], edi
call fcn.00465f96
add esp, 0x10
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edi
test esi, esi
je 0x4a3b8f
test eax, eax
jle 0x4a3b8f
push ebx
call fcn.004a3338
mov esi, eax
mov dword [ebp - 0x24], esi
pop ecx
test esi, esi
jne 0x4a3842
push 0x93
jmp 0x4a3b94
push ebx
call fcn.00476847
push ebx
mov dword [ebp - 0x14], eax
call fcn.00476847
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
call fcn.00460adb
mov dword [ebp - 8], eax
cmp dword [ebp - 0x14], edi
je 0x4a3b83
cmp dword [ebp - 0x18], edi
je 0x4a3b83
test eax, eax
je 0x4a3b83
push eax
call fcn.00460b39
push dword [ebp - 8]
call fcn.00460a7c
push dword [ebp - 8]
mov dword [ebp - 0x20], eax
call fcn.00460a7c
push dword [ebp - 8]
mov dword [ebp - 0x30], eax
call fcn.00460a7c
push dword [ebp - 8]
mov dword [ebp - 0x28], eax
call fcn.00460a7c
push dword [ebp - 8]
mov dword [ebp - 0x34], eax
call fcn.00460a7c
add esp, 0x18
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x4a38ce
push 0xa7
mov esi, str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push esi
push 3
jmp 0x4a3b9c
lea eax, [esi + esi]
mov esi, str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push 0xab
push esi
push eax
mov dword [ebp - 0x44], eax
call fcn.0045ab86
push 0xac
push esi
push dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
call fcn.0045ab86
add esp, 0x18
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0xc], edi
je 0x4a3b79
test eax, eax
je 0x4a3b79
mov eax, dword [ebp + 0x1c]
push dword [eax]
push edi
push dword [ebp + 0x18]
call fcn.0055f7f0
push dword [ebp - 0x3c]
push dword [ebp - 0x20]
call fcn.0047f303
add esp, 0x14
test eax, eax
jne 0x4a3937
push 0xb6
jmp 0x4a3b99
push dword [ebp - 8]
push edi
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push ebx
call fcn.00476809
add esp, 0x18
test eax, eax
je 0x4a3b6f
push dword [ebp - 8]
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 0x14]
push ebx
call fcn.00476622
add esp, 0x14
test eax, eax
je 0x4a3b6f
push dword [ebp - 8]
push dword [ebp - 0x20]
push dword [ebp - 0x40]
push edi
push dword [ebp - 0x18]
push ebx
call fcn.00476809
add esp, 0x18
test eax, eax
je 0x4a3b6f
push dword [ebp - 8]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [ebp - 0x18]
push ebx
call fcn.00476622
add esp, 0x14
test eax, eax
je 0x4a3b6f
mov ebx, dword [ebp - 0x24]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x28]
call fcn.0045f79b
add esp, 0xc
test eax, eax
js 0x4a3b68
mov eax, dword [ebp - 0xc]
add eax, ebx
push ebx
push eax
push dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
call fcn.0045f79b
add esp, 0xc
test eax, eax
js 0x4a3b68
mov ebx, dword [ebp + 0x14]
push 0xc8
push esi
push ebx
call fcn.0045ab86
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x4a3a14
push 0xca
push esi
push 0x41
push 0x67
push 0x35
call fcn.0045b227
mov ebx, dword [ebp - 4]
jmp 0x4a3ba7
push dword [ebp + 0xc]
push edi
push edi
push dword [ebp - 0x44]
push dword [ebp - 0xc]
push ebx
push eax
call fcn.004a288c
add esp, 0x1c
test eax, eax
jne 0x4a3a37
push 0xd1
push esi
push 6
jmp 0x4a3a03
test ebx, ebx
je 0x4a3a51
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
sub edx, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub ebx, 1
jne 0x4a3a43
mov ebx, dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.0046c170
pop ecx
pop ecx
test eax, eax
je 0x4a3b5e
push dword [ebp - 0x24]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0046c30e
add esp, 0xc
test eax, eax
je 0x4a3b5e
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call fcn.0046c30e
add esp, 0xc
test eax, eax
je 0x4a3b5e
push dword [ebp - 0x24]
push dword [ebp - 0x40]
push dword [ebp - 0x10]
call fcn.0046c30e
add esp, 0xc
test eax, eax
je 0x4a3b5e
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.0046c059
add esp, 0xc
test eax, eax
je 0x4a3b5e
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x50], eax
call fcn.00456749
mov dword [ebp - 0x4c], eax
call fcn.00456749
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x4c], edi
je 0x4a3b54
test eax, eax
je 0x4a3b54
push dword [ebp - 0x38]
push dword [ebp - 0x1c]
push dword [ebp - 0x4c]
call fcn.0046fca9
add esp, 0xc
test eax, eax
je 0x4a3b4a
push ebx
mov ebx, dword [ebp - 4]
push ebx
push dword [ebp - 0x48]
call fcn.0046fca9
add esp, 0xc
test eax, eax
je 0x4a3b4d
push 0x5cf028
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0045eeb4
add esp, 0xc
test eax, eax
jns 0x4a3b40
push 0xf3
push esi
push 0x44
push 0x67
push 0x35
call fcn.0045b227
jmp 0x4a3ba7
mov ecx, dword [ebp + 0x1c]
xor edi, edi
inc edi
mov dword [ecx], eax
jmp 0x4a3baa
mov ebx, dword [ebp - 4]
push 0xec
jmp 0x4a3b32
push 0xe7
jmp 0x4a3a00
push 0xdd
jmp 0x4a3a32
push 0xc4
jmp 0x4a3b99
push 0xbe
push esi
push 0x10
jmp 0x4a3b9c
push 0xaf
push esi
push 0x41
jmp 0x4a3b9c
push 0x9b
mov esi, str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
jmp 0x4a3b7e
push 0x8d
mov esi, str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push esi
push 0x44
push 0x67
push 0x35
call fcn.0045b227
mov ebx, edi
add esp, 0x14
push dword [ebp - 0x48]
call fcn.00456b86
push dword [ebp - 0x4c]
call fcn.00456b86
push 0xfd
push esi
push ebx
call fcn.0045aa27
push 0xfe
push esi
push dword [ebp - 0xc]
call fcn.0045aa27
push 0xff
push esi
push dword [ebp - 0x1c]
call fcn.0045aa27
push dword [ebp - 0x10]
call fcn.0046c45e
push dword [ebp - 8]
call fcn.00460a40
push dword [ebp - 0x14]
call fcn.004765f4
push dword [ebp - 0x18]
call fcn.004765f4
add esp, 0x3c
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret