Function at 0x481767
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x639034]
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 0x4817ca
call fcn.004583ae
mov dword [ebp - 0xa0], eax
test edi, edi
push eax
cmove edi, eax
mov dword [ebp - 0x94], edi
call fcn.00466091
mov edi, eax
pop ecx
mov dword [ebp - 0xb4], edi
cmp dword [ebp + 0xc], ebx
jle 0x481d28
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x481d28
mov ecx, dword [ebp - 0xb8]
cmp ecx, eax
jl 0x481d0d
lea eax, [edi*2 + 2]
cmp ecx, eax
jl 0x481d0d
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.0045aaec
add esp, 0xc
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x48185b
push 0x9f
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push 0x41
push 0x99
push 4
call fcn.0045b321
add esp, 0x14
jmp 0x481ca5
push 0xa3
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push dword [ebp - 0xb8]
call fcn.0045aaec
add esp, 0xc
mov dword [ebp - 0xa4], eax
test eax, eax
jne 0x481884
push 0xa6
jmp 0x481840
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 0x4818d9
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 0x4818a2
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.004813fa
add esp, 0x14
test eax, eax
jne 0x481ca5
mov edx, esi
test edi, edi
jle 0x481938
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 0x481927
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.004813fa
add esp, 0x14
test eax, eax
jne 0x481ca5
mov eax, dword [ebp - 0x8c]
test eax, eax
jle 0x48198a
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 0x481979
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.0046c0f2
add esp, 0x18
test eax, eax
je 0x481ca5
push edi
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x9c]
call fcn.004889d8
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 0x481a8a
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 0x4819f7
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 0x481beb
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 0x481bc9
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 0x481b88
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 0x481b50
mov ebx, dword [ebp - 0xb0]
xor esi, esi
mov edi, dword [ebp - 0xb4]
cmp dword [ebp - 0xa8], 0
mov edx, dword [ebp - 0x90]
jle 0x481c7f
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 0x481c19
push 0x107
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.0045b321
mov eax, ebx
and eax, 1
push eax
call fcn.0045b67a
add esp, 0x18
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0045d198
push 0x10b
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push dword [ebp - 0x8c]
push dword [ebp - 0x9c]
call fcn.0045ab95
push 0x10c
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push dword [ebp - 0xb8]
push dword [ebp - 0xa4]
call fcn.0045ab95
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 0x481d2b
push 0x98
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.0045b321
add esp, 0x14
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00546623
leave
ret