Function at 0x140054d10
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 [0x140196028]
xor rax, rsp
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [0x14016f5d0]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov r8d, 6
call fcn.1400547b0
xor edi, edi
test eax, eax
je 0x140054dbc
lea rcx, [rsp + 0x20]
call fcn.140097770
movzx r15d, byte [0x140182b85]
cmp rax, r15
jne 0x140054df0
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140097760
lea r14, [0x140182b78]
cmp r15d, 7
jne 0x140054dd7
mov ecx, dword [rax]
mov edx, dword [0x140182b7c]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x140054da5
mov ecx, dword [rax + 3]
mov edx, dword [0x140182b7f]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x140054dae
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140054df0
mov eax, dword [r14]
mov dword [rsi], eax
mov edi, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400be510
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test r15d, r15d
je 0x140054db2
lea rdx, [0x140182b7c]
mov rcx, rax
mov r8, rbx
call fcn.1400bfeb0
jmp 0x140054dae
lea rcx, [rsp + 0x20]
call fcn.140097770
movzx r15d, byte [0x140182c65]
cmp rax, r15
jne 0x140054e74
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140097760
lea r14, [0x140182c58]
cmp r15d, 7
jne 0x140054e57
mov ecx, dword [rax]
mov edx, dword [0x140182c5c]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x140054e44
mov ecx, dword [rax + 3]
mov edx, dword [0x140182c5f]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x140054e4d
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x140054db2
jmp 0x140054e74
test r15d, r15d
je 0x140054db2
lea rdx, [0x140182c5c]
mov rcx, rax
mov r8, rbx
call fcn.1400bfeb0
jmp 0x140054e4d
lea rcx, [rsp + 0x20]
call fcn.140097770
movzx r15d, byte [0x140182d45]
cmp rax, r15
jne 0x140054ef8
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140097760
lea r14, [0x140182d38]
cmp r15d, 7
jne 0x140054edb
mov ecx, dword [rax]
mov edx, dword [0x140182d3c]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x140054ec8
mov ecx, dword [rax + 3]
mov edx, dword [0x140182d3f]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x140054ed1
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x140054db2
jmp 0x140054ef8
test r15d, r15d
je 0x140054db2
lea rdx, [0x140182d3c]
mov rcx, rax
mov r8, rbx
call fcn.1400bfeb0
jmp 0x140054ed1
lea rcx, [rsp + 0x20]
call fcn.140097770
movzx r15d, byte [0x140182e25]
cmp rax, r15
jne 0x140054f7c
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140097760
lea r14, [0x140182e18]
cmp r15d, 7
jne 0x140054f5f
mov ecx, dword [rax]
mov edx, dword [0x140182e1c]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x140054f4c
mov ecx, dword [rax + 3]
mov edx, dword [0x140182e1f]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x140054f55
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x140054db2
jmp 0x140054f7c
test r15d, r15d
je 0x140054db2
lea rdx, [0x140182e1c]
mov rcx, rax
mov r8, rbx
call fcn.1400bfeb0
jmp 0x140054f55
lea rcx, [rsp + 0x20]
call fcn.140097770
movzx r15d, byte [0x140182f0d]
cmp rax, r15
jne 0x140054dbc
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140097760
lea r14, [0x140182f00]
cmp r15d, 7
jne 0x140054fea
mov ecx, dword [rax]
mov edx, dword [0x140182f04]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x140054fd4
mov ecx, dword [rax + 3]
mov edx, dword [0x140182f07]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x140054fdd
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x140054db2
jmp 0x140054dbc
test r15d, r15d
je 0x140054db2
lea rdx, [0x140182f04]
mov rcx, rax
mov r8, rbx
call fcn.1400bfeb0
jmp 0x140054fdd