Function at 0x4a3ec0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc0
call fcn.0052efe0
mov eax, dword [0x5cb218]
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 + 0x20], eax
xor edi, edi
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], 0
test eax, eax
jne 0x4a3f36
call fcn.0044f980
mov dword [esp + 0x1c], eax
test ebx, ebx
push eax
cmove ebx, eax
mov dword [esp + 0x3c], ebx
call fcn.00462590
add esp, 4
mov ebx, eax
mov dword [esp + 0x3c], ebx
cmp dword [esp + 0xd8], edi
jle 0x4a44bb
mov esi, dword [esp + 0xe0]
test esi, esi
jle 0x4a44bb
cmp ebp, esi
jl 0x4a44a0
lea eax, [ebx*2 + 2]
cmp ebp, eax
jl 0x4a44a0
push 0x9e
sub ebp, ebx
dec ebp
push str..crypto_rsa_rsa_oaep.c
push ebp
mov dword [esp + 0x34], ebp
call fcn.004486f0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4a3fc3
push 0xa0
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0xa1
push 4
call fcn.00456250
add esp, 0x14
jmp 0x4a4452
mov edi, dword [esp + 0x48]
push 0xa4
push str..crypto_rsa_rsa_oaep.c
push edi
call fcn.004486f0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4a4002
push 0xa7
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0xa1
push 4
call fcn.00456250
add esp, 0x14
jmp 0x4a444e
mov edx, dword [esp + 0xdc]
add eax, edi
add edx, esi
mov dword [esp + 0x14], eax
test edi, edi
jle 0x4a4047
mov ebp, eax
mov eax, esi
lea ecx, [esi - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
dec ebp
and ecx, eax
dec ecx
mov eax, ecx
and eax, 1
sub edx, eax
sub esi, eax
and cl, byte [edx]
mov byte [ebp], cl
sub edi, 1
jne 0x4a4017
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
push dword [esp + 0x38]
push ebp
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, dword [esp + 0x1c]
neg ecx
mov dword [esp + 0x20], ecx
lea edi, [eax + 1]
add edi, ebx
lea esi, [eax + 1]
push edi
lea eax, [esp + 0x58]
push ebx
push eax
call fcn.004a3970
add esp, 0x14
test eax, eax
jne 0x4a444e
xor edx, edx
test ebx, ebx
jle 0x4a4120
cmp ebx, 0x20
jb 0x4a4104
lea eax, [esi - 1]
lea ebp, [esp + 0x4c]
add eax, ebx
cmp ebp, eax
lea ecx, [esp + ebx + 0x4b]
mov ebp, dword [esp + 0x28]
ja 0x4a40ad
cmp ecx, esi
jae 0x4a4104
mov eax, ebx
and eax, 0x8000001f
jns 0x4a40bb
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, ebx
mov ebp, esi
sub ecx, eax
lea eax, [esp + 0x4c]
sub ebp, eax
nop word [eax + eax]
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 0x4a40d0
mov ebp, dword [esp + 0x28]
cmp edx, ebx
jge 0x4a4120
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 0x4a4110
push dword [esp + 0x38]
lea eax, [esp + 0x50]
push ebx
push eax
push ebp
push dword [esp + 0x20]
call fcn.004a3970
add esp, 0x14
test eax, eax
jne 0x4a444e
xor edx, edx
test ebp, ebp
jle 0x4a41ce
mov ecx, dword [esp + 0x10]
cmp ebp, 0x20
jb 0x4a41af
lea eax, [ebp - 1]
lea esi, [ecx - 1]
add eax, edi
add esi, ebp
cmp ecx, eax
ja 0x4a4164
cmp esi, edi
jae 0x4a41af
mov eax, ebp
and eax, 0x8000001f
jns 0x4a4172
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, ebp
mov esi, edi
sub ecx, eax
mov eax, dword [esp + 0x10]
sub esi, eax
nop
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 0x4a4180
mov ecx, dword [esp + 0x10]
cmp edx, ebp
jge 0x4a41ce
sub edi, dword [esp + 0x10]
mov esi, ebp
add ecx, edx
sub esi, edx
nop dword [eax]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x4a41c0
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x94]
push 0
push eax
push dword [esp + 0xfc]
push dword [esp + 0x34]
call fcn.0044f270
add esp, 0x18
test eax, eax
je 0x4a444e
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x8c]
push ebx
push eax
push esi
call fcn.0045e2e0
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 + 0x18], ecx
cmp ebx, ebp
jge 0x4a4298
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 + 0x20], eax
not eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
and ecx, edi
and eax, dword [esp + 0x2c]
inc edi
or eax, ecx
mov dword [esp + 0x2c], eax
lea eax, [esi - 1]
shr eax, 0x1f
not esi
shr esi, 0x1f
and eax, esi
mov esi, dword [esp + 0x10]
neg eax
or eax, ebx
and dword [esp + 0x18], eax
cmp edi, ebp
jl 0x4a4230
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0xd8]
mov eax, ebp
sub eax, dword [esp + 0x2c]
mov ecx, edi
dec eax
mov esi, ebp
sub ecx, eax
mov dword [esp + 0x34], 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 + 0x18], 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 + 0x30], ecx
mov dword [esp + 0x20], edx
not edx
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
and eax, ecx
and edx, edi
or edx, eax
mov dword [esp + 0x1c], edx
cmp ecx, ebx
jle 0x4a4396
sub esi, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
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 0x4a4386
mov esi, dword [esp + 0x10]
movzx eax, cl
add esi, edx
mov ebp, eax
mov dword [esp + 0x2c], eax
not ebp
sub edi, edx
nop dword [eax]
mov dword [esp + 0x20], eax
lea esi, [esi + 1]
movzx eax, byte [esi + ebx - 1]
mov dword [esp + 0x38], ebp
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
and dl, al
movzx eax, byte [esi - 1]
and cl, al
mov eax, dword [esp + 0x2c]
or cl, dl
mov byte [esi - 1], cl
sub edi, 1
jne 0x4a4350
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
add ebx, ebx
cmp ebx, dword [esp + 0x30]
jl 0x4a4320
mov edx, dword [esp + 0x1c]
xor esi, esi
test edx, edx
jle 0x4a4426
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x34]
movzx eax, al
neg edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x24]
inc eax
shr ebx, 0x1f
add eax, dword [esp + 0x10]
mov dword [esp + 0x30], 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 + 0x30]
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 + 0x1c]
jl 0x4a43d0
mov ebp, dword [esp + 0x28]
push 0x108
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0xa1
push 4
call fcn.00456250
mov eax, dword [esp + 0x2c]
and eax, 1
push eax
call fcn.00456610
add esp, 0x18
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x4c]
push 0x40
push eax
call fcn.0045d1d0
mov ebx, dword [esp + 0x18]
push ebp
push ebx
call fcn.0045d1d0
push ebx
call fcn.00448620
push dword [esp + 0x5c]
push edi
call fcn.0045d1d0
push edi
call fcn.00448620
mov eax, dword [esp + 0x38]
add esp, 0x20
mov dword [esp + 0x24], eax
not eax
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x24]
and ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
or eax, ecx
jmp 0x4a44be
push 0x99
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0xa1
push 4
call fcn.00456250
add esp, 0x14
or eax, 0xffffffff
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052e4fa
add esp, 0xc0
ret