Function at 0x140054590
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.140054030
xor edi, edi
test eax, eax
je 0x14005463c
lea rcx, [rsp + 0x20]
call fcn.1400970d0
movzx r15d, byte [0x140182b85]
cmp rax, r15
jne 0x140054670
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.1400970c0
lea r14, [0x140182b78]
cmp r15d, 7
jne 0x140054657
mov ecx, dword [rax]
mov edx, dword [0x140182b7c]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x140054625
mov ecx, dword [rax + 3]
mov edx, dword [0x140182b7f]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x14005462e
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140054670
mov eax, dword [r14]
mov dword [rsi], eax
mov edi, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400bdd30
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test r15d, r15d
je 0x140054632
lea rdx, [0x140182b7c]
mov rcx, rax
mov r8, rbx
call fcn.1400bf6d0
jmp 0x14005462e
lea rcx, [rsp + 0x20]
call fcn.1400970d0
movzx r15d, byte [0x140182c65]
cmp rax, r15
jne 0x1400546f4
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.1400970c0
lea r14, [0x140182c58]
cmp r15d, 7
jne 0x1400546d7
mov ecx, dword [rax]
mov edx, dword [0x140182c5c]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x1400546c4
mov ecx, dword [rax + 3]
mov edx, dword [0x140182c5f]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x1400546cd
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x140054632
jmp 0x1400546f4
test r15d, r15d
je 0x140054632
lea rdx, [0x140182c5c]
mov rcx, rax
mov r8, rbx
call fcn.1400bf6d0
jmp 0x1400546cd
lea rcx, [rsp + 0x20]
call fcn.1400970d0
movzx r15d, byte [0x140182d45]
cmp rax, r15
jne 0x140054778
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.1400970c0
lea r14, [0x140182d38]
cmp r15d, 7
jne 0x14005475b
mov ecx, dword [rax]
mov edx, dword [0x140182d3c]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x140054748
mov ecx, dword [rax + 3]
mov edx, dword [0x140182d3f]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x140054751
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x140054632
jmp 0x140054778
test r15d, r15d
je 0x140054632
lea rdx, [0x140182d3c]
mov rcx, rax
mov r8, rbx
call fcn.1400bf6d0
jmp 0x140054751
lea rcx, [rsp + 0x20]
call fcn.1400970d0
movzx r15d, byte [0x140182e25]
cmp rax, r15
jne 0x1400547fc
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.1400970c0
lea r14, [0x140182e18]
cmp r15d, 7
jne 0x1400547df
mov ecx, dword [rax]
mov edx, dword [0x140182e1c]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x1400547cc
mov ecx, dword [rax + 3]
mov edx, dword [0x140182e1f]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x1400547d5
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x140054632
jmp 0x1400547fc
test r15d, r15d
je 0x140054632
lea rdx, [0x140182e1c]
mov rcx, rax
mov r8, rbx
call fcn.1400bf6d0
jmp 0x1400547d5
lea rcx, [rsp + 0x20]
call fcn.1400970d0
movzx r15d, byte [0x140182f0d]
cmp rax, r15
jne 0x14005463c
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.1400970c0
lea r14, [0x140182f00]
cmp r15d, 7
jne 0x14005486a
mov ecx, dword [rax]
mov edx, dword [0x140182f04]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x140054854
mov ecx, dword [rax + 3]
mov edx, dword [0x140182f07]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x14005485d
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x140054632
jmp 0x14005463c
test r15d, r15d
je 0x140054632
lea rdx, [0x140182f04]
mov rcx, rax
mov r8, rbx
call fcn.1400bf6d0
jmp 0x14005485d