Function at 0x598880
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x80
call fcn.004ed3f0
mov eax, dword [0x640844]
xor eax, esp
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0x90]
push ebp
mov ebp, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x30]
push edi
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], 0
call fcn.0056cf40
test esi, esi
mov eax, ebx
push ebx
cmovne eax, esi
mov dword [esp + 0x28], eax
call fcn.00570840
mov edi, eax
add esp, 8
mov dword [esp + 0x24], edi
test edi, edi
js 0x598cd9
mov ebx, dword [esp + 0xa8]
cmp ebx, 0xffffffff
jne 0x598966
mov ebx, edi
mov dword [esp + 0xa8], ebx
push dword [ebp + 0x10]
call fcn.005800c0
push dword [esp + 0x1c]
lea ebp, [eax - 1]
and ebp, 7
mov dword [esp + 0x30], ebp
call fcn.00582770
mov esi, dword [esp + 0x18]
mov edx, eax
mov eax, 0xff
mov ecx, ebp
shl eax, cl
add esp, 8
test byte [esi], al
je 0x59898f
push 0x76
push str..crypto_rsa_rsa_pss.c
push 0x85
push 0x95
push 4
call fcn.0056f540
add esp, 0x14
jmp 0x598cd9
cmp ebx, 0xfffffffe
jne 0x59896d
jmp 0x59890e
jge 0x598915
push 0x6f
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.0056f540
add esp, 0x14
jmp 0x598cd9
test ebp, ebp
jne 0x598994
dec edx
test ebp, ebp
lea ecx, [esi + 1]
lea eax, [edi + 2]
cmovne ecx, esi
mov dword [esp + 0x18], ecx
cmp edx, eax
jge 0x5989c4
push 0x7e
push str..crypto_rsa_rsa_pss.c
push 0x6d
push 0x95
push 4
call fcn.0056f540
add esp, 0x14
jmp 0x598cd9
mov esi, edx
sub esi, edi
lea eax, [esi - 2]
cmp ebx, eax
jle 0x5989d6
push 0x82
jmp 0x5989a9
cmp byte [ecx + edx - 1], 0xbc
je 0x598a00
push 0x86
push str..crypto_rsa_rsa_pss.c
push 0x86
push 0x95
push 4
call fcn.0056f540
add esp, 0x14
jmp 0x598cd9
dec esi
push 0x8b
push str..crypto_rsa_rsa_pss.c
push esi
mov dword [esp + 0x20], esi
lea ebx, [ecx + esi]
call fcn.0056fac0
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x598a41
push 0x8d
push str..crypto_rsa_rsa_pss.c
push 0x41
push 0x95
push 4
call fcn.0056f540
add esp, 0x14
jmp 0x598cd9
push dword [esp + 0x20]
push edi
push ebx
push esi
push ebp
call fcn.00597790
add esp, 0x14
test eax, eax
js 0x598cd0
xor ecx, ecx
mov dword [esp + 0x10], ecx
test esi, esi
jle 0x598b2e
mov edx, dword [esp + 0x18]
cmp esi, 0x40
jb 0x598b12
lea eax, [edx - 1]
mov dword [esp + 0x10], ecx
add eax, esi
cmp ebp, eax
ja 0x598a8e
lea eax, [ebp - 1]
add eax, esi
cmp eax, edx
jae 0x598b12
mov eax, esi
and eax, 0x8000003f
jns 0x598a9c
dec eax
or eax, 0xffffffc0
inc eax
mov dword [esp + 0x10], esi
mov esi, edx
sub dword [esp + 0x10], eax
sub esi, ebp
mov dword [esp + 0x20], esi
lea eax, [ebp + 0x10]
mov edi, dword [esp + 0x20]
lea esi, [edx + 0x30]
movups xmm0, xmmword [eax - 0x10]
add ecx, 0x40
lea esi, [esi + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [esi - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [eax + edi - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [esi - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [esi - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ecx, dword [esp + 0x10]
jl 0x598ab6
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
cmp ecx, esi
jge 0x598b2e
add ecx, ebp
sub edx, ebp
sub esi, dword [esp + 0x10]
nop
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x598b20
mov eax, dword [esp + 0x28]
test eax, eax
je 0x598b47
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [ebp], al
mov al, byte [ebp]
xor esi, esi
mov ecx, dword [esp + 0x14]
test al, al
jne 0x598b62
lea eax, [ecx - 1]
cmp esi, eax
jge 0x598b62
inc esi
cmp byte [esi + ebp], 0
je 0x598b57
mov al, byte [esi + ebp]
inc esi
cmp al, 1
je 0x598b8d
push 0x98
push str..crypto_rsa_rsa_pss.c
push 0x87
push 0x95
push 4
call fcn.0056f540
add esp, 0x14
jmp 0x598cd0
mov eax, dword [esp + 0xa8]
sub ecx, esi
mov dword [esp + 0x14], ecx
test eax, eax
js 0x598bc5
cmp ecx, eax
je 0x598bc5
push 0x9c
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.0056f540
add esp, 0x14
jmp 0x598cd0
push 0
push dword [esp + 0x30]
lea eax, [esp + 0x3c]
push eax
call fcn.0056c9e0
add esp, 0xc
test eax, eax
je 0x598cd0
push 8
lea eax, [esp + 0x38]
push 0x61a450
push eax
call fcn.0056cb90
add esp, 0xc
test eax, eax
je 0x598cd0
push edi
push dword [esp + 0x34]
lea eax, [esp + 0x3c]
push eax
call fcn.0056cb90
add esp, 0xc
test eax, eax
je 0x598cd0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x598c38
push eax
lea eax, [esi + ebp]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0056cb90
add esp, 0xc
test eax, eax
je 0x598cd0
push 0
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0056c960
add esp, 0xc
test eax, eax
je 0x598cd0
lea ecx, [esp + 0x4c]
sub edi, 4
jb 0x598c71
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x598c76
add ecx, 4
add ebx, 4
sub edi, 4
jae 0x598c60
cmp edi, 0xfffffffc
je 0x598cc8
mov al, byte [ecx]
cmp al, byte [ebx]
jne 0x598ca3
cmp edi, 0xfffffffd
je 0x598cc8
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x598ca3
cmp edi, 0xfffffffe
je 0x598cc8
mov al, byte [ecx + 2]
cmp al, byte [ebx + 2]
jne 0x598ca3
cmp edi, 0xffffffff
je 0x598cc8
mov al, byte [ecx + 3]
cmp al, byte [ebx + 3]
je 0x598cc8
push 0xaa
push str..crypto_rsa_rsa_pss.c
push 0x68
push 0x95
push 4
call fcn.0056f540
add esp, 0x14
mov dword [esp + 0x1c], 0
jmp 0x598cd0
mov dword [esp + 0x1c], 1
push ebp
call fcn.0056fa40
add esp, 4
lea eax, [esp + 0x34]
push eax
call fcn.0056cba0
mov ecx, dword [esp + 0x90]
add esp, 4
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ed0cc
add esp, 0x80
ret