Function at 0x53a0a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc0
call fcn.005f62e0
mov eax, dword [0x6c02d0]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc4]
push ebx
mov dword [esp + 0x3c], eax
xor ebx, ebx
mov eax, dword [esp + 0xd8]
push ebp
mov ebp, dword [esp + 0xec]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ebx
push esi
push edi
test eax, eax
jne 0x53a112
call fcn.005064b0
mov dword [esp + 0x30], eax
test ebp, ebp
push eax
cmove ebp, eax
mov dword [esp + 0x18], ebp
call fcn.004c17b0
add esp, 4
mov edi, eax
mov dword [esp + 0x20], edi
cmp dword [esp + 0xd8], ebx
jle 0x53a76e
mov esi, dword [esp + 0xe0]
test esi, esi
jle 0x53a76e
mov ecx, dword [esp + 0x3c]
cmp ecx, esi
jl 0x53a747
lea eax, [edi*2 + 2]
cmp ecx, eax
jl 0x53a747
mov ebp, ecx
push 0xcb
sub ebp, edi
dec ebp
push str.crypto_rsa_rsa_oaep.c
push ebp
mov dword [esp + 0x44], ebp
call fcn.004c0940
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
je 0x53a6f3
push 0xcf
push str.crypto_rsa_rsa_oaep.c
push dword [esp + 0x44]
call fcn.004c0940
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x53a6f3
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0x3c]
add edx, esi
add ecx, eax
mov dword [esp + 0x24], ecx
test eax, eax
jle 0x53a1f7
mov ebx, eax
mov edi, ecx
mov eax, esi
lea ecx, [esi - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
dec edi
and ecx, eax
dec ecx
mov eax, ecx
and eax, 1
sub edx, eax
sub esi, eax
and cl, byte [edx]
mov byte [edi], cl
sub ebx, 1
jne 0x53a1c8
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
movzx ebx, byte [ecx]
lea esi, [ecx + 1]
push dword [esp + 0x14]
inc ecx
mov dword [esp + 0x1c], esi
add ecx, edi
lea eax, [esp + 0x50]
push ebp
push ecx
lea ebx, [ebx - 1]
mov dword [esp + 0x38], ecx
push edi
shr ebx, 0x1f
push eax
neg ebx
call fcn.00539ed0
add esp, 0x14
test eax, eax
jne 0x53a6f3
xor edx, edx
test edi, edi
jle 0x53a345
cmp edi, 8
jb 0x53a32f
lea eax, [esi - 1]
lea ebp, [esp + 0x4c]
add eax, edi
cmp ebp, eax
lea ecx, [esp + edi + 0x4b]
mov ebp, dword [esp + 0x38]
ja 0x53a25c
cmp ecx, esi
jae 0x53a32f
cmp edi, 0x40
jb 0x53a2fe
mov eax, edi
and eax, 0x8000003f
jns 0x53a273
dec eax
or eax, 0xffffffc0
inc eax
lea ebp, [esp + 0x4c]
mov ecx, edi
sub ebp, esi
sub ecx, eax
mov dword [esp + 0x44], ebp
lea eax, [esi + 0x20]
mov edi, dword [esp + 0x44]
lea ebp, [esp + 0x5c]
sub ebp, esi
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
nop word [eax + eax]
movups xmm0, xmmword [esp + edx + 0x4c]
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax - 0x60]
xorps xmm1, xmm0
movups xmmword [esp + edx + 0x4c], xmm1
movups xmm0, xmmword [esp + edx + 0x5c]
movups xmm1, xmmword [eax - 0x50]
xorps xmm1, xmm0
movups xmmword [esp + edx + 0x5c], xmm1
add edx, 0x40
movups xmm0, xmmword [edi + eax - 0x40]
movups xmm1, xmmword [eax - 0x40]
xorps xmm1, xmm0
movups xmmword [edi + eax - 0x40], xmm1
movups xmm1, xmmword [eax - 0x30]
movups xmm0, xmmword [esi + eax - 0x40]
xorps xmm1, xmm0
movups xmmword [esi + eax - 0x40], xmm1
cmp edx, ecx
jl 0x53a2a0
mov edi, dword [esp + 0x20]
mov eax, edi
mov esi, dword [esp + 0x18]
and al, 0x3f
cmp al, 8
jb 0x53a32b
mov eax, edi
and eax, reloc.WS2_32.dll_getsockopt
jns 0x53a30c
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, edi
sub ecx, eax
movq xmm1, qword [esi + edx]
movq xmm0, qword [esp + edx + 0x4c]
xorps xmm1, xmm0
movq qword [esp + edx + 0x4c], xmm1
add edx, 8
cmp edx, ecx
jl 0x53a310
cmp edx, edi
jge 0x53a345
lea eax, [esp + 0x4c]
sub esi, eax
lea ecx, [esp + 0x4c]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor byte [ecx], al
cmp edx, edi
jl 0x53a335
push dword [esp + 0x14]
lea eax, [esp + 0x50]
push edi
push eax
push ebp
push dword [esp + 0x20]
call fcn.00539ed0
add esp, 0x14
test eax, eax
jne 0x53a6f3
xor edx, edx
test ebp, ebp
jle 0x53a484
mov ecx, dword [esp + 0x10]
cmp ebp, 8
jb 0x53a460
mov esi, dword [esp + 0x2c]
lea eax, [esi - 1]
add eax, ebp
cmp ecx, eax
ja 0x53a395
lea eax, [ecx - 1]
add eax, ebp
cmp eax, esi
jae 0x53a460
cmp ebp, 0x40
jb 0x53a416
mov eax, ebp
and eax, 0x8000003f
jns 0x53a3a8
dec eax
or eax, 0xffffffc0
inc eax
mov dword [esp + 0x14], ebp
add esi, 0x30
sub dword [esp + 0x14], eax
lea eax, [ecx + 0x10]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x10]
nop
movups xmm0, xmmword [eax - 0x10]
add edx, 0x40
lea esi, [esi + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [esi - 0x70]
xorps xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [ecx + eax - 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [esi - 0x50]
xorps xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
movups xmm0, xmmword [esi - 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, dword [esp + 0x14]
jl 0x53a3c0
mov eax, ebp
and al, 0x3f
cmp al, 8
jb 0x53a45c
jmp 0x53a41c
mov ecx, esi
sub ecx, dword [esp + 0x10]
mov eax, ebp
and eax, reloc.WS2_32.dll_getsockopt
jns 0x53a42a
dec eax
or eax, 0xfffffff8
inc eax
mov esi, ebp
sub esi, eax
mov eax, dword [esp + 0x10]
add eax, edx
nop dword [eax]
nop dword [eax + eax]
movq xmm1, qword [ecx + eax]
lea eax, [eax + 8]
movq xmm0, qword [eax - 8]
add edx, 8
xorps xmm1, xmm0
movq qword [eax - 8], xmm1
cmp edx, esi
jl 0x53a440
mov ecx, dword [esp + 0x10]
cmp edx, ebp
jge 0x53a484
mov edi, dword [esp + 0x2c]
mov esi, ebp
sub edi, dword [esp + 0x10]
add ecx, edx
sub esi, edx
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x53a472
mov edi, dword [esp + 0x20]
push 0
push dword [esp + 0x34]
lea eax, [esp + 0x94]
push 0
push eax
push dword [esp + 0xfc]
push dword [esp + 0x30]
call fcn.004e2fa0
add esp, 0x18
test eax, eax
je 0x53a6f3
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x8c]
push edi
push eax
push esi
call fcn.00401390
mov edx, dword [esp + 0x2c]
add esp, 0xc
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and ebx, ecx
mov dword [esp + 0x14], ebx
xor ebx, ebx
cmp edx, ebp
jge 0x53a534
movzx esi, byte [edi + esi]
mov eax, ebx
mov edx, esi
not eax
xor edx, 1
dec edx
shr edx, 0x1f
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]
mov esi, dword [esp + 0x10]
shr eax, 0x1f
neg eax
or eax, ebx
and dword [esp + 0x14], eax
cmp edi, ebp
jl 0x53a4e4
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xd8]
mov eax, ebp
sub eax, dword [esp + 0x28]
mov esi, ebp
dec eax
sub esi, edx
sub ecx, eax
mov dword [esp + 0x40], eax
xor ecx, eax
xor eax, dword [esp + 0xd8]
or ecx, eax
mov eax, dword [esp + 0xd8]
xor ecx, eax
lea edi, [esi - 1]
shr ecx, 0x1f
dec ecx
mov dword [esp + 0x30], edi
and ecx, ebx
mov ebx, dword [esp + 0x14]
and ebx, ecx
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x14], ebx
xor ecx, eax
mov eax, edi
xor eax, dword [esp + 0xd8]
or ecx, eax
xor ecx, edi
shr ecx, 0x1f
neg ecx
mov dword [esp + 0x1c], ecx
not ecx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
and eax, edi
and ecx, dword [esp + 0xd8]
mov edi, 1
or ecx, eax
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x30], edi
jle 0x53a64e
sub esi, dword [esp + 0x40]
inc edx
mov dword [esp + 0x44], edx
lea eax, [esi - 1]
mov dword [esp + 0x2c], eax
nop
and eax, edi
mov esi, ebp
sub esi, edi
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
dec ecx
cmp edx, esi
jge 0x53a636
mov eax, dword [esp + 0x10]
movzx ecx, cl
add eax, edx
mov ebp, ecx
mov dword [esp + 0x34], ecx
not ebp
sub esi, edx
nop dword [eax + eax]
mov dword [esp + 0x1c], ecx
lea eax, [eax + 1]
movzx ecx, byte [eax + edi - 1]
mov dword [esp + 0x18], ebp
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
and bl, cl
movzx ecx, byte [eax - 1]
and dl, cl
mov ecx, dword [esp + 0x34]
or dl, bl
mov byte [eax - 1], dl
sub esi, 1
jne 0x53a600
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add edi, edi
cmp edi, dword [esp + 0x30]
jl 0x53a5d0
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
xor esi, esi
test ecx, ecx
jle 0x53a6c1
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x40]
inc ebp
shr ecx, 0x1f
neg edi
mov dword [esp + 0x34], ecx
add ebp, edx
nop dword [eax]
mov eax, edi
lea ebp, [ebp + 1]
shr eax, 0x1f
inc edi
xor al, cl
or al, cl
neg al
movzx ecx, al
movzx eax, bl
and ecx, eax
movzx eax, byte [ebp - 1]
mov dword [esp + 0x1c], ecx
not ecx
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
and dl, al
mov eax, dword [esp + 0x48]
movzx eax, byte [eax + esi]
and cl, al
mov eax, dword [esp + 0x48]
or cl, dl
mov byte [eax + esi], cl
inc esi
mov ecx, dword [esp + 0x34]
cmp esi, dword [esp + 0x28]
jl 0x53a670
mov ebp, dword [esp + 0x38]
call fcn.004c22a0
push str.RSA_padding_check_PKCS1_OAEP_mgf1
push 0x134
push str.crypto_rsa_rsa_oaep.c
call fcn.004c23a0
push 0
push 0x79
push 4
call fcn.004c24b0
mov eax, ebx
and eax, 1
push eax
call fcn.004dabb0
add esp, 0x1c
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 + 0x24]
call fcn.004c0a60
push 0x13a
push str.crypto_rsa_rsa_oaep.c
push dword [esp + 0x5c]
push dword [esp + 0x48]
call fcn.004c0a60
mov dword [esp + 0x44], ebx
add esp, 0x28
not ebx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x1c]
and ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
or eax, ecx
jmp 0x53a771
call fcn.004c22a0
push str.RSA_padding_check_PKCS1_OAEP_mgf1
push 0xc6
push str.crypto_rsa_rsa_oaep.c
call fcn.004c23a0
push 0
push 0x79
push 4
call fcn.004c24b0
add esp, 0x18
or eax, 0xffffffff
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005f5e48
add esp, 0xc0
ret