Function at 0x140050610
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [0x140160b90]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov r8d, 6
call fcn.140050110
xor edi, edi
test eax, eax
je 0x1400506bc
lea rcx, [rsp + 0x20]
call fcn.140094220
movzx r15d, byte [0x1401752b5]
cmp rax, r15
jne 0x1400506f0
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140094210
lea r14, [0x1401752a8]
cmp r15d, 7
jne 0x1400506d7
mov ecx, dword [rax]
mov edx, dword [0x1401752ac]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x1400506a5
mov ecx, dword [rax + 3]
mov edx, dword [0x1401752af]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x1400506ae
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400506f0
mov eax, dword [r14]
mov dword [rsi], eax
mov edi, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400b6f60
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test r15d, r15d
je 0x1400506b2
lea rdx, [0x1401752ac]
mov rcx, rax
mov r8, rbx
call fcn.1400b8900
jmp 0x1400506ae
lea rcx, [rsp + 0x20]
call fcn.140094220
movzx r15d, byte [0x140175395]
cmp rax, r15
jne 0x140050774
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140094210
lea r14, [0x140175388]
cmp r15d, 7
jne 0x140050757
mov ecx, dword [rax]
mov edx, dword [0x14017538c]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x140050744
mov ecx, dword [rax + 3]
mov edx, dword [0x14017538f]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x14005074d
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400506b2
jmp 0x140050774
test r15d, r15d
je 0x1400506b2
lea rdx, [0x14017538c]
mov rcx, rax
mov r8, rbx
call fcn.1400b8900
jmp 0x14005074d
lea rcx, [rsp + 0x20]
call fcn.140094220
movzx r15d, byte [0x140175475]
cmp rax, r15
jne 0x1400507f8
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140094210
lea r14, [0x140175468]
cmp r15d, 7
jne 0x1400507db
mov ecx, dword [rax]
mov edx, dword [0x14017546c]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x1400507c8
mov ecx, dword [rax + 3]
mov edx, dword [0x14017546f]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x1400507d1
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400506b2
jmp 0x1400507f8
test r15d, r15d
je 0x1400506b2
lea rdx, [0x14017546c]
mov rcx, rax
mov r8, rbx
call fcn.1400b8900
jmp 0x1400507d1
lea rcx, [rsp + 0x20]
call fcn.140094220
movzx r15d, byte [0x140175555]
cmp rax, r15
jne 0x14005087c
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140094210
lea r14, [0x140175548]
cmp r15d, 7
jne 0x14005085f
mov ecx, dword [rax]
mov edx, dword [0x14017554c]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x14005084c
mov ecx, dword [rax + 3]
mov edx, dword [0x14017554f]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x140050855
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400506b2
jmp 0x14005087c
test r15d, r15d
je 0x1400506b2
lea rdx, [0x14017554c]
mov rcx, rax
mov r8, rbx
call fcn.1400b8900
jmp 0x140050855
lea rcx, [rsp + 0x20]
call fcn.140094220
movzx r15d, byte [0x14017563d]
cmp rax, r15
jne 0x1400506bc
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140094210
lea r14, [0x140175630]
cmp r15d, 7
jne 0x1400508ea
mov ecx, dword [rax]
mov edx, dword [0x140175634]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x1400508d4
mov ecx, dword [rax + 3]
mov edx, dword [0x140175637]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x1400508dd
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400506b2
jmp 0x1400506bc
test r15d, r15d
je 0x1400506b2
lea rdx, [0x140175634]
mov rcx, rax
mov r8, rbx
call fcn.1400b8900
jmp 0x1400508dd