Function at 0x1012b600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x88]
push edi
mov edi, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x54], 0
call fcn.10084780
test ebx, ebx
push edi
cmove ebx, edi
mov dword [ebp - 0x58], ebx
call fcn.100a9f40
mov edi, eax
add esp, 8
mov dword [ebp - 0x60], edi
test edi, edi
js 0x1012ba20
mov ebx, dword [ebp + 0x1c]
cmp ebx, 0xffffffff
jne 0x1012b6b9
mov ebx, edi
mov dword [ebp + 0x1c], ebx
push dword [esi + 0x10]
call fcn.10080770
dec eax
and eax, 7
push esi
mov dword [ebp - 0x64], eax
call fcn.10085810
mov edx, dword [ebp - 0x64]
mov esi, eax
mov ecx, edx
mov eax, 0xff
shl eax, cl
add esp, 8
mov ecx, dword [ebp - 0x48]
test byte [ecx], al
je 0x1012b6e2
push 0x76
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_pss.c
push 0x85
push 0x95
push 4
call fcn.10099c70
add esp, 0x14
jmp 0x1012ba20
cmp ebx, 0xfffffffe
jne 0x1012b6c0
jmp 0x1012b669
jge 0x1012b66c
push 0x6f
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.10099c70
add esp, 0x14
jmp 0x1012ba20
test edx, edx
jne 0x1012b6e7
dec esi
mov eax, ecx
test edx, edx
lea ecx, [eax + 1]
cmovne ecx, eax
lea eax, [edi + 2]
add eax, ebx
mov dword [ebp - 0x5c], ecx
cmp esi, eax
jge 0x1012b71a
push 0x7e
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_pss.c
push 0x6d
push 0x95
push 4
call fcn.10099c70
add esp, 0x14
jmp 0x1012ba20
cmp byte [ecx + esi - 1], 0xbc
je 0x1012b744
push 0x82
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_pss.c
push 0x86
push 0x95
push 4
call fcn.10099c70
add esp, 0x14
jmp 0x1012ba20
sub esi, edi
dec esi
push 0x87
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_pss.c
push esi
mov dword [ebp - 0x50], esi
lea ebx, [ecx + esi]
call fcn.1007d880
add esp, 0xc
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x1012b787
push 0x89
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_pss.c
push 0x41
push 0x95
push 4
call fcn.10099c70
add esp, 0x14
jmp 0x1012ba20
push dword [ebp - 0x58]
push edi
push ebx
push esi
push eax
call fcn.100ff8c0
add esp, 0x14
test eax, eax
js 0x1012ba15
xor ecx, ecx
mov dword [ebp - 0x48], ecx
test esi, esi
jle 0x1012b876
mov edx, dword [ebp - 0x4c]
cmp esi, 0x40
jb 0x1012b85a
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x48], eax
lea eax, [ecx - 1]
add eax, esi
cmp edx, eax
ja 0x1012b7d5
lea eax, [edx - 1]
add eax, esi
cmp eax, ecx
jae 0x1012b858
mov eax, esi
and eax, 0x8000003f
jns 0x1012b7e3
dec eax
or eax, 0xffffffc0
inc eax
mov edi, esi
sub edi, eax
mov eax, edx
mov dword [ebp - 0x68], edi
mov edi, ecx
sub edi, edx
add ecx, 0x20
mov dword [ebp - 0x48], edi
mov edx, edi
mov dword [ebp - 0x58], ecx
xor ecx, ecx
mov edi, dword [ebp - 0x58]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax + edx - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edi + ecx - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [edi + ecx]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [edi + ecx + 0x10]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ecx, dword [ebp - 0x68]
jl 0x1012b800
mov edi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], ecx
jmp 0x1012b85a
xor ecx, ecx
cmp ecx, esi
jge 0x1012b876
mov edi, dword [ebp - 0x5c]
add ecx, edx
sub edi, edx
sub esi, dword [ebp - 0x48]
mov al, byte [ecx + edi]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x1012b868
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x1012b892
mov ecx, 8
mov edx, 0xff
sub ecx, eax
mov eax, dword [ebp - 0x4c]
sar edx, cl
and byte [eax], dl
jmp 0x1012b895
mov eax, dword [ebp - 0x4c]
mov cl, byte [eax]
xor esi, esi
test cl, cl
mov ecx, dword [ebp - 0x50]
jne 0x1012b8ae
lea edx, [ecx - 1]
cmp esi, edx
jge 0x1012b8ae
inc esi
cmp byte [esi + eax], 0
je 0x1012b8a3
mov al, byte [esi + eax]
inc esi
cmp al, 1
je 0x1012b8d9
push 0x94
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_pss.c
push 0x87
push 0x95
push 4
call fcn.10099c70
add esp, 0x14
jmp 0x1012ba15
mov eax, dword [ebp + 0x1c]
sub ecx, esi
mov dword [ebp - 0x50], ecx
test eax, eax
js 0x1012b90c
cmp ecx, eax
je 0x1012b90c
push 0x98
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.10099c70
add esp, 0x14
jmp 0x1012ba15
push 0
push dword [ebp - 0x6c]
lea eax, [ebp - 0x88]
push eax
call fcn.10084230
add esp, 0xc
test eax, eax
je 0x1012ba15
push 8
lea eax, [ebp - 0x88]
push 0x101c48f8
push eax
call fcn.100843d0
add esp, 0xc
test eax, eax
je 0x1012ba15
push edi
push dword [ebp - 0x70]
lea eax, [ebp - 0x88]
push eax
call fcn.100843d0
add esp, 0xc
test eax, eax
je 0x1012ba15
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x1012b986
push eax
mov eax, dword [ebp - 0x4c]
add eax, esi
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.100843d0
add esp, 0xc
test eax, eax
je 0x1012ba15
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.10084180
add esp, 0xc
test eax, eax
je 0x1012ba15
lea ecx, [ebp - 0x44]
sub edi, 4
jb 0x1012b9b8
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x1012b9bd
add ecx, 4
add ebx, 4
sub edi, 4
jae 0x1012b9a7
cmp edi, 0xfffffffc
je 0x1012ba0e
mov al, byte [ecx]
cmp al, byte [ebx]
jne 0x1012b9ea
cmp edi, 0xfffffffd
je 0x1012ba0e
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x1012b9ea
cmp edi, 0xfffffffe
je 0x1012ba0e
mov al, byte [ecx + 2]
cmp al, byte [ebx + 2]
jne 0x1012b9ea
cmp edi, 0xffffffff
je 0x1012ba0e
mov al, byte [ecx + 3]
cmp al, byte [ebx + 3]
je 0x1012ba0e
push 0xa6
push str.g:copenssl_1.0.2ecrypto_rsa_rsa_pss.c
push 0x68
push 0x95
push 4
call fcn.10099c70
add esp, 0x14
mov dword [ebp - 0x54], 0
jmp 0x1012ba15
mov dword [ebp - 0x54], 1
push dword [ebp - 0x4c]
call fcn.1007d7b0
add esp, 4
lea eax, [ebp - 0x88]
push eax
call fcn.100843e0
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x54]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.101534c8
mov esp, ebp
pop ebp
ret