Function at 0x49df83
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.00466c42
push dword [ebp + 8]
mov esi, eax
mov dword [ebp - 0x10], esi
call fcn.0045258f
mov ebx, eax
push ebx
call fcn.00450ef6
push dword [ebp + 8]
mov dword [ebp - 0x3c], eax
call fcn.004502a8
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.0046075b
add esp, 0x10
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edi
test esi, esi
je 0x49e350
test eax, eax
jle 0x49e350
push ebx
call fcn.0049daf9
mov esi, eax
mov dword [ebp - 0x24], esi
pop ecx
test esi, esi
jne 0x49e003
push 0x93
jmp 0x49e355
push ebx
call fcn.00471009
push ebx
mov dword [ebp - 0x14], eax
call fcn.00471009
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
call fcn.0045b2a0
mov dword [ebp - 8], eax
cmp dword [ebp - 0x14], edi
je 0x49e344
cmp dword [ebp - 0x18], edi
je 0x49e344
test eax, eax
je 0x49e344
push eax
call fcn.0045b2fe
push dword [ebp - 8]
call fcn.0045b241
push dword [ebp - 8]
mov dword [ebp - 0x20], eax
call fcn.0045b241
push dword [ebp - 8]
mov dword [ebp - 0x30], eax
call fcn.0045b241
push dword [ebp - 8]
mov dword [ebp - 0x28], eax
call fcn.0045b241
push dword [ebp - 8]
mov dword [ebp - 0x34], eax
call fcn.0045b241
add esp, 0x18
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x49e08f
push 0xa7
mov esi, str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
push esi
push 3
jmp 0x49e35d
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.00455348
push 0xac
push esi
push dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
call fcn.00455348
add esp, 0x18
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0xc], edi
je 0x49e33a
test eax, eax
je 0x49e33a
mov eax, dword [ebp + 0x1c]
push dword [eax]
push edi
push dword [ebp + 0x18]
call fcn.00559fa0
push dword [ebp - 0x3c]
push dword [ebp - 0x20]
call fcn.00479ac5
add esp, 0x14
test eax, eax
jne 0x49e0f8
push 0xb6
jmp 0x49e35a
push dword [ebp - 8]
push edi
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push ebx
call fcn.00470fcb
add esp, 0x18
test eax, eax
je 0x49e330
push dword [ebp - 8]
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 0x14]
push ebx
call fcn.00470de4
add esp, 0x14
test eax, eax
je 0x49e330
push dword [ebp - 8]
push dword [ebp - 0x20]
push dword [ebp - 0x40]
push edi
push dword [ebp - 0x18]
push ebx
call fcn.00470fcb
add esp, 0x18
test eax, eax
je 0x49e330
push dword [ebp - 8]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [ebp - 0x18]
push ebx
call fcn.00470de4
add esp, 0x14
test eax, eax
je 0x49e330
mov ebx, dword [ebp - 0x24]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x28]
call fcn.00459f5d
add esp, 0xc
test eax, eax
js 0x49e329
mov eax, dword [ebp - 0xc]
add eax, ebx
push ebx
push eax
push dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
call fcn.00459f5d
add esp, 0xc
test eax, eax
js 0x49e329
mov ebx, dword [ebp + 0x14]
push 0xc8
push esi
push ebx
call fcn.00455348
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x49e1d5
push 0xca
push esi
push 0x41
push 0x67
push 0x35
call fcn.004559e9
mov ebx, dword [ebp - 4]
jmp 0x49e368
push dword [ebp + 0xc]
push edi
push edi
push dword [ebp - 0x44]
push dword [ebp - 0xc]
push ebx
push eax
call fcn.0049d04d
add esp, 0x1c
test eax, eax
jne 0x49e1f8
push 0xd1
push esi
push 6
jmp 0x49e1c4
test ebx, ebx
je 0x49e212
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 0x49e204
mov ebx, dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.00466935
pop ecx
pop ecx
test eax, eax
je 0x49e31f
push dword [ebp - 0x24]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00466ad3
add esp, 0xc
test eax, eax
je 0x49e31f
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call fcn.00466ad3
add esp, 0xc
test eax, eax
je 0x49e31f
push dword [ebp - 0x24]
push dword [ebp - 0x40]
push dword [ebp - 0x10]
call fcn.00466ad3
add esp, 0xc
test eax, eax
je 0x49e31f
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.0046681e
add esp, 0xc
test eax, eax
je 0x49e31f
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x50], eax
call fcn.00450f0b
mov dword [ebp - 0x4c], eax
call fcn.00450f0b
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x4c], edi
je 0x49e315
test eax, eax
je 0x49e315
push dword [ebp - 0x38]
push dword [ebp - 0x1c]
push dword [ebp - 0x4c]
call fcn.0046a46b
add esp, 0xc
test eax, eax
je 0x49e30b
push ebx
mov ebx, dword [ebp - 4]
push ebx
push dword [ebp - 0x48]
call fcn.0046a46b
add esp, 0xc
test eax, eax
je 0x49e30e
push 0x5c7670
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00459676
add esp, 0xc
test eax, eax
jns 0x49e301
push 0xf3
push esi
push 0x44
push 0x67
push 0x35
call fcn.004559e9
jmp 0x49e368
mov ecx, dword [ebp + 0x1c]
xor edi, edi
inc edi
mov dword [ecx], eax
jmp 0x49e36b
mov ebx, dword [ebp - 4]
push 0xec
jmp 0x49e2f3
push 0xe7
jmp 0x49e1c1
push 0xdd
jmp 0x49e1f3
push 0xc4
jmp 0x49e35a
push 0xbe
push esi
push 0x10
jmp 0x49e35d
push 0xaf
push esi
push 0x41
jmp 0x49e35d
push 0x9b
mov esi, str.d:package_cacheopenssl1.1.1g.2crypto_sm2_sm2_crypt.c
jmp 0x49e33f
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.004559e9
mov ebx, edi
add esp, 0x14
push dword [ebp - 0x48]
call fcn.00451348
push dword [ebp - 0x4c]
call fcn.00451348
push 0xfd
push esi
push ebx
call fcn.004551e9
push 0xfe
push esi
push dword [ebp - 0xc]
call fcn.004551e9
push 0xff
push esi
push dword [ebp - 0x1c]
call fcn.004551e9
push dword [ebp - 0x10]
call fcn.00466c23
push dword [ebp - 8]
call fcn.0045b205
push dword [ebp - 0x14]
call fcn.00470db6
push dword [ebp - 0x18]
call fcn.00470db6
add esp, 0x3c
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret