Function at 0x54d030
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xb8
call fcn.005a74b0
mov eax, dword [0x609e44]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc4]
push ebx
mov dword [esp + 4], eax
xor ebx, ebx
mov eax, dword [esp + 0xd0]
push ebp
mov ebp, dword [esp + 0xd0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xd8]
push esi
mov dword [esp + 0x38], eax
xor esi, esi
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], ebx
push edi
mov edi, dword [esp + 0xec]
test eax, eax
jne 0x54d0b2
call fcn.00526b30
mov dword [esp + 0x30], eax
test edi, edi
push eax
cmove edi, eax
mov dword [esp + 0x24], edi
call fcn.004ff280
add esp, 4
mov edi, eax
mov dword [esp + 0x24], edi
cmp dword [esp + 0xd0], ebx
jle 0x54d481
test ebp, ebp
jle 0x54d481
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
jl 0x54d40f
lea eax, [edi*2 + 2]
cmp ecx, eax
jl 0x54d40f
mov ebx, ecx
push 0x9a
sub ebx, edi
dec ebx
push str.crypto_rsa_rsa_oaep.c
push ebx
call fcn.004fd490
mov esi, eax
add esp, 0xc
mov dword [esp + 0x18], esi
test esi, esi
jne 0x54d139
push 0x9c
push str.crypto_rsa_rsa_oaep.c
push 0x41
push 0x99
push 4
call fcn.004fe660
jmp 0x54d42f
mov eax, dword [esp + 0x1c]
cmp ebp, eax
je 0x54d181
push 0xa1
push str.crypto_rsa_rsa_oaep.c
push eax
call fcn.004fd6f0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x54d165
push 0xa4
jmp 0x54d121
mov eax, dword [esp + 0x1c]
push ebp
push dword [esp + 0x14]
sub eax, ebp
add eax, ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x34]
add esp, 0xc
jmp 0x54d185
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx]
lea ebp, [ecx + 1]
push dword [esp + 0x20]
push ebx
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
lea eax, [ecx + 1]
add eax, edi
neg edx
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x50]
push edi
push eax
mov dword [esp + 0x28], edx
call fcn.0054caf0
add esp, 0x14
test eax, eax
jne 0x54d432
xor edx, edx
test edi, edi
jle 0x54d260
cmp edi, 0x20
jb 0x54d244
lea eax, [edi - 1]
lea ecx, [esp + edi + 0x43]
add eax, ebp
lea edi, [esp + 0x44]
cmp edi, eax
mov edi, dword [esp + 0x24]
ja 0x54d1eb
cmp ecx, ebp
jae 0x54d244
mov eax, edi
and eax, 0x8000001f
jns 0x54d1f9
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, edi
mov edi, ebp
sub ecx, eax
lea eax, [esp + 0x44]
sub edi, eax
nop word [eax + eax]
movups xmm0, xmmword [esp + edx + 0x44]
lea eax, [edi + edx]
movups xmm1, xmmword [esp + eax + 0x44]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x44], xmm1
movups xmm1, xmmword [edx + ebp + 0x10]
movups xmm0, xmmword [esp + edx + 0x54]
pxor xmm1, xmm0
movups xmmword [esp + edx + 0x54], xmm1
add edx, 0x20
cmp edx, ecx
jl 0x54d210
mov edi, dword [esp + 0x24]
cmp edx, edi
jge 0x54d260
lea eax, [esp + 0x44]
sub ebp, eax
nop
lea ecx, [esp + 0x44]
add ecx, edx
inc edx
mov al, byte [ecx + ebp]
xor byte [ecx], al
cmp edx, edi
jl 0x54d250
push dword [esp + 0x20]
lea eax, [esp + 0x48]
push edi
push eax
push ebx
push esi
call fcn.0054caf0
add esp, 0x14
test eax, eax
jne 0x54d432
xor edx, edx
test ebx, ebx
jle 0x54d322
mov ebp, dword [esp + 0x10]
cmp ebx, 0x20
jb 0x54d302
lea eax, [ebp - 1]
lea ecx, [esi - 1]
add eax, ebx
add ecx, ebx
cmp esi, eax
ja 0x54d2a1
cmp ecx, ebp
jae 0x54d302
mov eax, ebx
and eax, 0x8000001f
jns 0x54d2af
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, ebx
mov edi, ebp
sub ecx, eax
sub edi, esi
mov dword [esp + 0x20], edi
mov eax, esi
lea edi, [ebp + 0x10]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ebp - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [esi + edx]
add edx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jl 0x54d2d0
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
cmp edx, ebx
jge 0x54d322
lea ecx, [edx + esi]
sub ebp, esi
mov esi, ebx
sub esi, edx
nop
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x54d310
mov esi, dword [esp + 0x18]
push 0
push dword [esp + 0x34]
lea eax, [esp + 0x8c]
push 0
push eax
push dword [esp + 0xf4]
push dword [esp + 0x50]
call fcn.0053a670
add esp, 0x18
test eax, eax
je 0x54d432
push edi
lea eax, [esp + 0x88]
push eax
push esi
call fcn.00401390
mov edx, dword [esp + 0x20]
add esp, 0xc
xor ebp, ebp
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and edx, ecx
mov dword [esp + 0x14], edx
cmp edi, ebx
jge 0x54d3d6
nop
movzx esi, byte [edi + esi]
mov ecx, ebp
mov eax, esi
not ecx
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
neg edx
and ecx, edx
or ebp, edx
mov edx, dword [esp + 0x14]
mov eax, ecx
not eax
and ecx, edi
and eax, dword [esp + 0x34]
inc edi
or ecx, eax
lea eax, [esi - 1]
shr eax, 0x1f
not esi
shr esi, 0x1f
and eax, esi
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0x18]
neg eax
or eax, ebp
and edx, eax
mov dword [esp + 0x14], edx
cmp edi, ebx
jl 0x54d380
jmp 0x54d3d8
xor ecx, ecx
test edx, ebp
je 0x54d40f
lea eax, [ecx + 1]
mov ecx, ebx
sub ecx, eax
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0xd0], ecx
jge 0x54d46f
push 0xe8
push str.crypto_rsa_rsa_oaep.c
push 0x6d
push 0x99
push 4
call fcn.004fe660
add esp, 0x14
push 0xf5
push str.crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.004fe660
mov dword [esp + 0x40], 0xffffffff
add esp, 0x14
lea eax, [esp + 0x44]
push 0x40
push eax
call fcn.00401320
push 0xf8
push str.crypto_rsa_rsa_oaep.c
push ebx
push esi
call fcn.004fd580
push 0xf9
push str.crypto_rsa_rsa_oaep.c
push dword [esp + 0x3c]
push dword [esp + 0x4c]
call fcn.004fd580
mov eax, dword [esp + 0x54]
add esp, 0x28
jmp 0x54d484
push ecx
add eax, esi
push eax
push dword [esp + 0x48]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x54d432
or eax, 0xffffffff
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005a6fed
add esp, 0xb8
ret