Function at 0x140054990
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 [0x14016f5f0]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov r8d, 6
call fcn.1400968b0
xor edi, edi
test eax, eax
je 0x140054a3c
lea rcx, [rsp + 0x20]
call fcn.140096870
movzx r15d, byte [0x140182d55]
cmp rax, r15
jne 0x140054a70
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140096860
lea r14, [0x140182d48]
cmp r15d, 7
jne 0x140054a57
mov ecx, dword [rax]
mov edx, dword [0x140182d4c]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x140054a25
mov ecx, dword [rax + 3]
mov edx, dword [0x140182d4f]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x140054a2e
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140054a70
mov eax, dword [r14]
mov dword [rsi], eax
mov edi, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400bd5c0
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test r15d, r15d
je 0x140054a32
lea rdx, [0x140182d4c]
mov rcx, rax
mov r8, rbx
call fcn.1400bef60
jmp 0x140054a2e
lea rcx, [rsp + 0x20]
call fcn.140096870
movzx r15d, byte [0x140182e35]
cmp rax, r15
jne 0x140054af4
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140096860
lea r14, [0x140182e28]
cmp r15d, 7
jne 0x140054ad7
mov ecx, dword [rax]
mov edx, dword [0x140182e2c]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x140054ac4
mov ecx, dword [rax + 3]
mov edx, dword [0x140182e2f]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x140054acd
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x140054a32
jmp 0x140054af4
test r15d, r15d
je 0x140054a32
lea rdx, [0x140182e2c]
mov rcx, rax
mov r8, rbx
call fcn.1400bef60
jmp 0x140054acd
lea rcx, [rsp + 0x20]
call fcn.140096870
movzx r15d, byte [0x140182f15]
cmp rax, r15
jne 0x140054b78
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140096860
lea r14, [0x140182f08]
cmp r15d, 7
jne 0x140054b5b
mov ecx, dword [rax]
mov edx, dword [0x140182f0c]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x140054b48
mov ecx, dword [rax + 3]
mov edx, dword [0x140182f0f]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x140054b51
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x140054a32
jmp 0x140054b78
test r15d, r15d
je 0x140054a32
lea rdx, [0x140182f0c]
mov rcx, rax
mov r8, rbx
call fcn.1400bef60
jmp 0x140054b51
lea rcx, [rsp + 0x20]
call fcn.140096870
movzx r15d, byte [0x140182ff5]
cmp rax, r15
jne 0x140054be1
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140096860
lea r14, [0x140182fe8]
cmp r15d, 7
jne 0x140054c4f
mov ecx, dword [rax]
mov edx, dword [0x140182fec]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x140054bd0
mov ecx, dword [rax + 3]
mov edx, dword [0x140182fef]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x140054bd9
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x140054a32
lea rcx, [rsp + 0x20]
call fcn.140096870
movzx r15d, byte [0x1401830dd]
cmp rax, r15
jne 0x140054a3c
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140096860
lea r14, [0x1401830d0]
cmp r15d, 7
jne 0x140054c6f
mov ecx, dword [rax]
mov edx, dword [0x1401830d4]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x140054c39
mov ecx, dword [rax + 3]
mov edx, dword [0x1401830d7]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x140054c42
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x140054a32
jmp 0x140054a3c
test r15d, r15d
je 0x140054a32
lea rdx, [0x140182fec]
mov rcx, rax
mov r8, rbx
call fcn.1400bef60
jmp 0x140054bd9
test r15d, r15d
je 0x140054a32
lea rdx, [0x1401830d4]
mov rcx, rax
mov r8, rbx
call fcn.1400bef60
jmp 0x140054c42