Function at 0x6be120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x74
call fcn.006f2580
mov eax, dword [0x8e6704]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
call fcn.00628960
mov dword [ebp - 0x50], eax
test eax, eax
je 0x6be4e8
test esi, esi
push edi
cmove esi, edi
mov dword [ebp - 0x60], esi
call fcn.00638aa0
mov edi, eax
add esp, 4
mov dword [ebp - 0x64], edi
test edi, edi
js 0x6be4e8
mov esi, dword [ebp + 0x1c]
cmp esi, 0xffffffff
jne 0x6be1e8
mov esi, edi
mov dword [ebp + 0x1c], esi
mov eax, dword [ebp - 0x48]
push dword [eax + 0x10]
call fcn.00623f90
push dword [ebp - 0x48]
dec eax
and eax, 7
mov dword [ebp - 0x68], eax
call fcn.00629f00
mov ecx, dword [ebp - 0x68]
mov edx, eax
mov eax, 0xff
add esp, 8
shl eax, cl
test byte [ebx], al
je 0x6be20a
push 0x46
push str.crypto_rsa_rsa_pss.c
push 0x85
push 0x7e
push 4
call fcn.0062ff40
add esp, 0x14
jmp 0x6be4e8
cmp esi, 0xfffffffd
jge 0x6be19e
push 0x3f
push str.crypto_rsa_rsa_pss.c
push 0x88
push 0x7e
push 4
call fcn.0062ff40
add esp, 0x14
jmp 0x6be4e8
test ecx, ecx
jne 0x6be213
inc ebx
dec edx
mov dword [ebp - 0x58], ebx
lea eax, [edi + 2]
cmp edx, eax
jge 0x6be234
push 0x4e
push str.crypto_rsa_rsa_pss.c
push 0x6d
push 0x7e
push 4
call fcn.0062ff40
add esp, 0x14
jmp 0x6be4e8
cmp esi, 0xfffffffd
mov esi, edx
jne 0x6be267
sub esi, edi
lea eax, [esi - 2]
mov dword [ebp + 0x1c], eax
cmp byte [ebx + edx - 1], 0xbc
je 0x6be275
push 0x58
push str.crypto_rsa_rsa_pss.c
push 0x86
push 0x7e
push 4
call fcn.0062ff40
add esp, 0x14
jmp 0x6be4e8
sub esi, edi
lea eax, [esi - 2]
cmp dword [ebp + 0x1c], eax
jle 0x6be243
push 0x54
jmp 0x6be21c
push 0x5d
dec esi
push str.crypto_rsa_rsa_pss.c
push esi
mov dword [ebp - 0x54], esi
add ebx, esi
call fcn.0061e3f0
add esp, 0xc
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x6be2ac
push 0x5f
push str.crypto_rsa_rsa_pss.c
push 0x41
push 0x7e
push 4
call fcn.0062ff40
add esp, 0x14
jmp 0x6be4e8
push dword [ebp - 0x60]
push edi
push ebx
push esi
push eax
call fcn.0069e420
add esp, 0x14
test eax, eax
js 0x6be4e8
xor ecx, ecx
mov dword [ebp - 0x48], ecx
test esi, esi
jle 0x6be381
mov edx, dword [ebp - 0x4c]
cmp esi, 0x20
jb 0x6be35c
mov ecx, dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x48], eax
lea eax, [ecx - 1]
add eax, esi
cmp edx, eax
ja 0x6be2f6
lea eax, [edx - 1]
add eax, esi
cmp eax, ecx
jae 0x6be35a
mov eax, esi
and eax, 0x8000001f
jns 0x6be304
dec eax
or eax, 0xffffffe0
inc eax
mov edi, ecx
mov dword [ebp - 0x48], esi
sub dword [ebp - 0x48], eax
sub edi, edx
add ecx, 0x10
mov dword [ebp - 0x60], edi
mov edi, dword [ebp - 0x64]
mov eax, edx
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x6c], ecx
xor ecx, ecx
mov edx, dword [ebp - 0x6c]
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 [edx + ecx]
add ecx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ecx, dword [ebp - 0x48]
jl 0x6be324
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x48], ecx
jmp 0x6be35c
xor ecx, ecx
cmp ecx, esi
jge 0x6be381
mov edi, dword [ebp - 0x58]
add ecx, edx
sub edi, edx
sub esi, dword [ebp - 0x48]
nop word [eax + eax]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x6be370
mov edi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x6be39d
mov ecx, 8
mov edx, 0xff
sub ecx, eax
mov eax, dword [ebp - 0x4c]
sar edx, cl
and byte [eax], dl
jmp 0x6be3a0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
xor esi, esi
cmp byte [eax], 0
jne 0x6be3bb
lea edx, [ecx - 1]
nop dword [eax]
cmp esi, edx
jge 0x6be3bb
inc esi
cmp byte [esi + eax], 0
je 0x6be3b0
mov al, byte [esi + eax]
inc esi
cmp al, 1
je 0x6be3e0
push 0x6a
push str.crypto_rsa_rsa_pss.c
push 0x87
push 0x7e
push 4
call fcn.0062ff40
add esp, 0x14
jmp 0x6be4e8
mov edx, dword [ebp + 0x1c]
cmp edx, 0xfffffffe
je 0x6be3f7
mov eax, ecx
sub eax, esi
cmp eax, edx
je 0x6be3f7
push 0x6e
jmp 0x6be1ef
push 0
push dword [ebp - 0x70]
push dword [ebp - 0x50]
call fcn.006285c0
add esp, 0xc
test eax, eax
je 0x6be4e8
push 8
push 0x7f2b14
push dword [ebp - 0x50]
call fcn.00628750
add esp, 0xc
test eax, eax
je 0x6be4e8
push edi
push dword [ebp - 0x74]
push dword [ebp - 0x50]
call fcn.00628750
add esp, 0xc
test eax, eax
je 0x6be4e8
mov eax, dword [ebp - 0x54]
sub eax, esi
je 0x6be461
push eax
mov eax, dword [ebp - 0x4c]
add eax, esi
push eax
push dword [ebp - 0x50]
call fcn.00628750
add esp, 0xc
test eax, eax
je 0x6be4e8
push 0
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x50]
call fcn.00628520
add esp, 0xc
test eax, eax
je 0x6be4e8
lea ecx, [ebp - 0x44]
sub edi, 4
jb 0x6be491
nop
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x6be496
add ecx, 4
add ebx, 4
sub edi, 4
jae 0x6be480
cmp edi, 0xfffffffc
je 0x6be4e1
mov al, byte [ecx]
cmp al, byte [ebx]
jne 0x6be4c3
cmp edi, 0xfffffffd
je 0x6be4e1
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x6be4c3
cmp edi, 0xfffffffe
je 0x6be4e1
mov al, byte [ecx + 2]
cmp al, byte [ebx + 2]
jne 0x6be4c3
cmp edi, 0xffffffff
je 0x6be4e1
mov al, byte [ecx + 3]
cmp al, byte [ebx + 3]
je 0x6be4e1
push 0x7c
push str.crypto_rsa_rsa_pss.c
push 0x68
push 0x7e
push 4
call fcn.0062ff40
add esp, 0x14
mov dword [ebp - 0x5c], 0
jmp 0x6be4e8
mov dword [ebp - 0x5c], 1
push 0x83
push str.crypto_rsa_rsa_pss.c
push dword [ebp - 0x4c]
call fcn.0061e430
push dword [ebp - 0x50]
call fcn.00628940
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, dword [ebp - 0x5c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.006f384a
mov esp, ebp
pop ebp
ret