Function at 0x48166c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x638034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
or dword [ebp - 0x90], 0xffffffff
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x18]
push ebx
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x1c]
push esi
xor esi, esi
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x24]
mov ebx, esi
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xa4], esi
push edi
mov edi, dword [ebp + 0x28]
test eax, eax
jne 0x4816cf
call fcn.004582b7
mov dword [ebp - 0xa0], eax
test edi, edi
push eax
cmove edi, eax
mov dword [ebp - 0x94], edi
call fcn.00465f96
mov edi, eax
pop ecx
mov dword [ebp - 0xb4], edi
cmp dword [ebp + 0xc], ebx
jle 0x481c2d
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x481c2d
mov ecx, dword [ebp - 0xb8]
cmp ecx, eax
jl 0x481c12
lea eax, [edi*2 + 2]
cmp ecx, eax
jl 0x481c12
sub ecx, edi
push 0x9d
dec ecx
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push ecx
mov dword [ebp - 0x8c], ecx
call fcn.0045a9f5
add esp, 0xc
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x481760
push 0x9f
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push 0x41
push 0x99
push 4
call fcn.0045b227
add esp, 0x14
jmp 0x481baa
push 0xa3
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push dword [ebp - 0xb8]
call fcn.0045a9f5
add esp, 0xc
mov dword [ebp - 0xa4], eax
test eax, eax
jne 0x481789
push 0xa6
jmp 0x481745
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xb8]
add eax, ecx
mov edx, dword [ebp + 0x14]
add ebx, edx
mov dword [ebp - 0xa4], eax
test ecx, ecx
jle 0x4817de
mov edi, ecx
mov esi, eax
mov eax, edx
lea ecx, [edx - 1]
shr ecx, 0x1f
not eax
shr eax, 0x1f
and ecx, eax
dec ecx
mov eax, ecx
and eax, 1
sub ebx, eax
sub edx, eax
dec esi
and cl, byte [ebx]
mov byte [esi], cl
sub edi, 1
jne 0x4817a7
mov edi, dword [ebp - 0xb4]
mov dword [ebp - 0xa4], esi
xor esi, esi
mov eax, dword [ebp - 0xa4]
movzx ebx, byte [eax]
lea ecx, [eax + 1]
push dword [ebp - 0x94]
inc eax
mov dword [ebp - 0xac], ecx
push dword [ebp - 0x8c]
add eax, edi
dec ebx
push eax
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x44]
push edi
shr ebx, 0x1f
push eax
neg ebx
call fcn.004812ff
add esp, 0x14
test eax, eax
jne 0x481baa
mov edx, esi
test edi, edi
jle 0x48183d
mov esi, dword [ebp - 0xac]
lea eax, [ebp - 0x44]
sub esi, eax
lea ecx, [ebp - 0x44]
add ecx, edx
mov al, byte [ecx + esi]
xor byte [ecx], al
inc edx
cmp edx, edi
jl 0x48182c
xor esi, esi
push dword [ebp - 0x94]
lea eax, [ebp - 0x44]
push edi
push eax
push dword [ebp - 0x8c]
push dword [ebp - 0x9c]
call fcn.004812ff
add esp, 0x14
test eax, eax
jne 0x481baa
mov eax, dword [ebp - 0x8c]
test eax, eax
jle 0x48188f
mov edi, dword [ebp - 0x98]
mov edx, eax
mov ecx, dword [ebp - 0x9c]
sub edi, ecx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc ecx
sub edx, 1
jne 0x48187e
mov edi, dword [ebp - 0xb4]
push esi
push dword [ebp - 0xa0]
lea eax, [ebp - 0x84]
push esi
push eax
push dword [ebp + 0x20]
push dword [ebp - 0x88]
call fcn.0046bff7
add esp, 0x18
test eax, eax
je 0x481baa
push edi
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x9c]
call fcn.004888dd
mov edx, dword [ebp - 0x8c]
add esp, 0xc
mov dword [ebp - 0x94], esi
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and ebx, ecx
mov ecx, edi
mov dword [ebp - 0x90], ecx
cmp edi, edx
jge 0x48198f
mov edi, edx
mov eax, dword [ebp - 0x9c]
movzx esi, byte [ecx + eax]
mov eax, esi
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
mov eax, dword [ebp - 0x94]
not eax
neg edx
and eax, edx
mov dword [ebp - 0x88], eax
not eax
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x88]
and ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x98]
and eax, dword [ebp - 0xa8]
or eax, ecx
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0xa8], eax
or ecx, edx
lea eax, [esi - 1]
mov dword [ebp - 0x94], ecx
shr eax, 0x1f
neg eax
or eax, ecx
mov ecx, dword [ebp - 0x90]
and ebx, eax
inc ecx
mov dword [ebp - 0x90], ecx
cmp ecx, edi
jl 0x4818fc
mov edi, dword [ebp - 0xb4]
xor esi, esi
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp + 0xc]
mov eax, edx
sub eax, dword [ebp - 0xa8]
sub edx, edi
dec eax
mov dword [ebp - 0x88], edx
sub ecx, eax
mov dword [ebp - 0x90], eax
xor ecx, eax
xor eax, dword [ebp + 0xc]
or ecx, eax
xor ecx, dword [ebp + 0xc]
shr ecx, 0x1f
dec ecx
and ecx, dword [ebp - 0x94]
and ebx, ecx
lea ecx, [edx - 1]
mov edx, ecx
mov dword [ebp - 0xb0], ebx
sub edx, dword [ebp + 0xc]
mov eax, ecx
xor edx, dword [ebp + 0xc]
xor eax, dword [ebp + 0xc]
or edx, eax
xor edx, ecx
mov ecx, dword [ebp - 0x88]
shr edx, 0x1f
neg edx
mov dword [ebp - 0x98], edx
not edx
mov dword [ebp - 0xac], edx
lea edx, [ecx - 1]
mov eax, dword [ebp - 0x98]
and eax, edx
mov dword [ebp - 0xa0], edx
mov edx, dword [ebp - 0xac]
and edx, dword [ebp + 0xc]
or edx, eax
xor eax, eax
inc eax
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0xa0], eax
jle 0x481af0
sub ecx, dword [ebp - 0x90]
lea edx, [edi + 1]
mov edi, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x9c]
lea eax, [ecx - 1]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0xbc], eax
and eax, esi
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, edi
sub eax, esi
dec ecx
cmp edx, eax
jge 0x481ace
movzx ecx, cl
lea edi, [edx + ebx]
mov dword [ebp - 0xac], ecx
sub eax, edx
not ecx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x98], ecx
mov edx, eax
mov ebx, ecx
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x98], ebx
mov eax, dword [ebp - 0x88]
mov cl, byte [edi + esi]
and cl, al
mov eax, dword [ebp - 0x98]
and al, byte [edi]
or al, cl
mov byte [edi], al
inc edi
sub edx, 1
jne 0x481a8d
mov edi, dword [ebp - 0x8c]
mov ebx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0xbc]
add esi, esi
cmp esi, dword [ebp - 0xa0]
jl 0x481a55
mov ebx, dword [ebp - 0xb0]
xor esi, esi
mov edi, dword [ebp - 0xb4]
cmp dword [ebp - 0xa8], 0
mov edx, dword [ebp - 0x90]
jle 0x481b84
mov eax, edx
shr eax, 0x1f
mov dword [ebp - 0xb0], eax
mov eax, edx
neg eax
add edi, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov edx, eax
mov ecx, esi
mov eax, dword [ebp - 0xb0]
shr ecx, 0x1f
shr edx, 0x1f
xor dl, al
xor al, cl
or dl, al
movzx eax, bl
xor dl, cl
neg dl
movzx ecx, dl
mov edx, dword [ebp - 0xc0]
and ecx, eax
mov dword [ebp - 0xbc], ecx
not ecx
mov dword [ebp - 0x88], ecx
mov eax, dword [ebp - 0xbc]
mov cl, byte [edi + esi + 1]
and cl, al
mov eax, dword [ebp - 0x88]
and al, byte [edx + esi]
or al, cl
mov byte [edx + esi], al
inc esi
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp esi, dword [ebp - 0xa8]
jl 0x481b1e
push 0x107
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.0045b227
mov eax, ebx
and eax, 1
push eax
call fcn.0045b580
add esp, 0x18
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0045d09e
push 0x10b
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push dword [ebp - 0x8c]
push dword [ebp - 0x9c]
call fcn.0045aa9e
push 0x10c
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push dword [ebp - 0xb8]
push dword [ebp - 0xa4]
call fcn.0045aa9e
mov dword [ebp - 0xc0], ebx
add esp, 0x28
not ebx
mov dword [ebp - 0xb0], ebx
mov ecx, dword [ebp - 0xc0]
and ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0xb0]
or eax, ecx
jmp 0x481c30
push 0x98
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.0045b227
add esp, 0x14
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005462f1
leave
ret