Function at 0x4b8ec0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc0
call fcn.0057aae0
mov eax, dword [0x5fbea4]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc4]
push ebx
mov ebx, dword [esp + 0xe8]
push ebp
mov ebp, dword [esp + 0xdc]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xe0]
push esi
push edi
mov dword [esp + 0x1c], eax
xor edi, edi
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0
test eax, eax
jne 0x4b8f36
call fcn.004b6360
mov dword [esp + 0x18], eax
test ebx, ebx
push eax
cmove ebx, eax
mov dword [esp + 0x40], ebx
call fcn.00464e60
add esp, 4
mov ebx, eax
mov dword [esp + 0x30], ebx
cmp dword [esp + 0xd8], edi
jle 0x4b949a
mov esi, dword [esp + 0xe0]
test esi, esi
jle 0x4b949a
cmp ebp, esi
jl 0x4b9473
lea eax, [ebx*2 + 2]
cmp ebp, eax
jl 0x4b9473
push 0xcb
sub ebp, ebx
dec ebp
push str.crypto_rsa_rsa_oaep.c
push ebp
mov dword [esp + 0x40], ebp
call fcn.00460490
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
je 0x4b941e
mov edi, dword [esp + 0x48]
push 0xcf
push str.crypto_rsa_rsa_oaep.c
push edi
call fcn.00460490
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
je 0x4b941a
mov edx, dword [esp + 0xdc]
add eax, edi
add edx, esi
mov dword [esp + 0x10], eax
test edi, edi
jle 0x4b900f
mov ebx, eax
nop
mov eax, esi
lea ecx, [esi - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
dec ebx
and ecx, eax
dec ecx
mov eax, ecx
and eax, 1
sub edx, eax
sub esi, eax
and cl, byte [edx]
mov byte [ebx], cl
sub edi, 1
jne 0x4b8fe0
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push dword [esp + 0x3c]
push ebp
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, dword [esp + 0x18]
neg ecx
mov dword [esp + 0x1c], ecx
lea edi, [eax + 1]
add edi, ebx
lea esi, [eax + 1]
push edi
lea eax, [esp + 0x58]
push ebx
push eax
call fcn.004b8cf0
add esp, 0x14
test eax, eax
jne 0x4b941a
xor edx, edx
test ebx, ebx
jle 0x4b90e0
cmp ebx, 0x20
jb 0x4b90c4
lea eax, [esi - 1]
lea ebp, [esp + 0x4c]
add eax, ebx
cmp ebp, eax
lea ecx, [esp + ebx + 0x4b]
mov ebp, dword [esp + 0x34]
ja 0x4b9075
cmp ecx, esi
jae 0x4b90c4
mov eax, ebx
and eax, 0x8000001f
jns 0x4b9083
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, ebx
mov ebp, esi
sub ecx, eax
lea eax, [esp + 0x4c]
sub ebp, eax
nop
movups xmm0, xmmword [esp + edx + 0x4c]
lea eax, [edx + ebp]
movups xmm1, xmmword [esp + eax + 0x4c]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x4c], xmm1
movups xmm1, xmmword [esi + edx + 0x10]
movups xmm0, xmmword [esp + edx + 0x5c]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x5c], xmm1
add edx, 0x20
cmp edx, ecx
jl 0x4b9090
mov ebp, dword [esp + 0x34]
cmp edx, ebx
jge 0x4b90e0
lea eax, [esp + 0x4c]
sub esi, eax
nop
lea ecx, [esp + 0x4c]
add ecx, edx
inc edx
mov al, byte [ecx + esi]
xor byte [ecx], al
cmp edx, ebx
jl 0x4b90d0
push dword [esp + 0x3c]
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x50]
push ebx
push eax
push ebp
push esi
call fcn.004b8cf0
add esp, 0x14
test eax, eax
jne 0x4b941a
xor edx, edx
test ebp, ebp
jle 0x4b918e
cmp ebp, 0x20
jb 0x4b916b
lea eax, [ebp - 1]
lea ecx, [esi - 1]
add eax, edi
add ecx, ebp
cmp esi, eax
ja 0x4b9121
cmp ecx, edi
jae 0x4b916b
mov eax, ebp
and eax, 0x8000001f
jns 0x4b912f
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, ebp
sub ecx, eax
mov eax, esi
mov esi, edi
sub esi, dword [esp + 0x20]
nop dword [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [esi + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [edi + edx + 0x10]
add edx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jl 0x4b9140
cmp edx, ebp
jge 0x4b918e
mov eax, dword [esp + 0x20]
mov esi, ebp
sub edi, eax
sub esi, edx
lea ecx, [edx + eax]
nop dword [eax]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x4b9180
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0x94]
push 0
push eax
push dword [esp + 0xfc]
push dword [esp + 0x30]
call fcn.00480610
add esp, 0x18
test eax, eax
je 0x4b941a
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x8c]
push ebx
push eax
push esi
call fcn.00401390
add esp, 0xc
xor edx, edx
mov edi, ebx
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and dword [esp + 0x14], ecx
cmp ebx, ebp
jge 0x4b9258
xor ebx, ebx
nop dword [eax]
movzx esi, byte [edi + esi]
mov eax, esi
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
mov eax, ebx
not eax
neg edx
and eax, edx
or ebx, edx
mov dword [esp + 0x1c], eax
not eax
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
and ecx, edi
and eax, dword [esp + 0x28]
inc edi
or eax, ecx
mov dword [esp + 0x28], eax
lea eax, [esi - 1]
shr eax, 0x1f
not esi
shr esi, 0x1f
and eax, esi
mov esi, dword [esp + 0x20]
neg eax
or eax, ebx
and dword [esp + 0x14], eax
cmp edi, ebp
jl 0x4b91f0
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0xd8]
mov eax, ebp
sub eax, dword [esp + 0x28]
mov ecx, edi
dec eax
mov esi, ebp
sub ecx, eax
mov dword [esp + 0x38], eax
xor ecx, eax
sub esi, ebx
xor eax, edi
mov ebx, 1
or ecx, eax
xor ecx, edi
shr ecx, 0x1f
dec ecx
and ecx, edx
and dword [esp + 0x14], ecx
lea ecx, [esi - 1]
mov edx, ecx
mov eax, ecx
sub edx, edi
xor eax, edi
xor edx, edi
or edx, eax
xor edx, ecx
lea ecx, [esi - 1]
shr edx, 0x1f
neg edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], edx
not edx
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
and eax, ecx
and edx, edi
or edx, eax
mov dword [esp + 0x18], edx
cmp ecx, ebx
jle 0x4b9356
sub esi, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
inc edx
mov dword [esp + 0x40], edx
lea ecx, [esi - 1]
mov dword [esp + 0x24], ecx
nop
mov eax, ecx
mov edi, ebp
and eax, ebx
sub edi, ebx
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
dec ecx
cmp edx, edi
jge 0x4b9346
mov esi, dword [esp + 0x20]
movzx eax, cl
add esi, edx
mov ebp, eax
mov dword [esp + 0x28], eax
not ebp
sub edi, edx
nop dword [eax]
mov dword [esp + 0x1c], eax
lea esi, [esi + 1]
movzx eax, byte [esi + ebx - 1]
mov dword [esp + 0x3c], ebp
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
and dl, al
movzx eax, byte [esi - 1]
and cl, al
mov eax, dword [esp + 0x28]
or cl, dl
mov byte [esi - 1], cl
sub edi, 1
jne 0x4b9310
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
add ebx, ebx
cmp ebx, dword [esp + 0x2c]
jl 0x4b92e0
mov edx, dword [esp + 0x18]
xor esi, esi
test edx, edx
jle 0x4b93e6
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x38]
movzx eax, al
neg edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
inc eax
shr ebx, 0x1f
add eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
nop dword [eax]
mov ecx, esi
mov edx, edi
shr ecx, 0x1f
inc edi
shr edx, 0x1f
mov al, cl
xor al, bl
xor dl, bl
or dl, al
xor dl, cl
neg dl
movzx eax, dl
and eax, ebp
mov dword [esp + 0x24], eax
not eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
movzx eax, byte [eax + esi]
and dl, al
mov eax, dword [esp + 0x44]
movzx eax, byte [eax + esi]
and cl, al
mov eax, dword [esp + 0x44]
or cl, dl
mov byte [eax + esi], cl
inc esi
cmp esi, dword [esp + 0x18]
jl 0x4b9390
mov ebp, dword [esp + 0x34]
call fcn.004657e0
push str.RSA_padding_check_PKCS1_OAEP_mgf1
push 0x134
push str.crypto_rsa_rsa_oaep.c
call fcn.00465830
push 0
push 0x79
push 4
call fcn.00465860
mov eax, dword [esp + 0x2c]
and eax, 1
push eax
call fcn.00477340
add esp, 0x1c
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x4c]
push 0x40
push eax
call fcn.00401320
push 0x139
push str.crypto_rsa_rsa_oaep.c
push ebp
push dword [esp + 0x34]
call fcn.004605a0
push 0x13a
push str.crypto_rsa_rsa_oaep.c
push dword [esp + 0x68]
push edi
call fcn.004605a0
mov eax, dword [esp + 0x3c]
add esp, 0x28
mov dword [esp + 0x24], eax
not eax
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x24]
and ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
or eax, ecx
jmp 0x4b949d
call fcn.004657e0
push str.RSA_padding_check_PKCS1_OAEP_mgf1
push 0xc6
push str.crypto_rsa_rsa_oaep.c
call fcn.00465830
push 0
push 0x79
push 4
call fcn.00465860
add esp, 0x18
or eax, 0xffffffff
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0057a738
add esp, 0xc0
ret