Function at 0x140054d30
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 [0x140189028]
xor rax, rsp
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [0x140165260]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov r8d, 6
call fcn.140054830
xor edi, edi
test eax, eax
je 0x140054ddc
lea rcx, [rsp + 0x20]
call fcn.140095ae0
movzx r15d, byte [0x14017683d]
cmp rax, r15
jne 0x140054df7
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140095ad0
lea r14, [0x140176830]
cmp r15d, 7
jne 0x140054fa4
mov ecx, dword [rax]
mov edx, dword [0x140176834]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x140054dc5
mov ecx, dword [rax + 3]
mov edx, dword [0x140176837]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x140054dce
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140054df7
mov eax, dword [r14]
mov dword [rsi], eax
mov edi, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400b51f0
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [rsp + 0x20]
call fcn.140095ae0
movzx r15d, byte [0x14017691d]
cmp rax, r15
jne 0x140054e60
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140095ad0
lea r14, [0x140176910]
cmp r15d, 7
jne 0x140054fc4
mov ecx, dword [rax]
mov edx, dword [0x140176914]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x140054e4f
mov ecx, dword [rax + 3]
mov edx, dword [0x140176917]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x140054e58
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x140054dd2
lea rcx, [rsp + 0x20]
call fcn.140095ae0
movzx r15d, byte [0x1401769fd]
cmp rax, r15
jne 0x140054ec9
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140095ad0
lea r14, [0x1401769f0]
cmp r15d, 7
jne 0x140054fe4
mov ecx, dword [rax]
mov edx, dword [0x1401769f4]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x140054eb8
mov ecx, dword [rax + 3]
mov edx, dword [0x1401769f7]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x140054ec1
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x140054dd2
lea rcx, [rsp + 0x20]
call fcn.140095ae0
movzx r15d, byte [0x140176add]
cmp rax, r15
jne 0x140054f32
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140095ad0
lea r14, [0x140176ad0]
cmp r15d, 7
jne 0x140055004
mov ecx, dword [rax]
mov edx, dword [0x140176ad4]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x140054f21
mov ecx, dword [rax + 3]
mov edx, dword [0x140176ad7]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x140054f2a
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x140054dd2
lea rcx, [rsp + 0x20]
call fcn.140095ae0
movzx r15d, byte [0x140176bc5]
cmp rax, r15
jne 0x140054ddc
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140095ad0
lea r14, [0x140176bb8]
cmp r15d, 7
jne 0x140055024
mov ecx, dword [rax]
mov edx, dword [0x140176bbc]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x140054f8e
mov ecx, dword [rax + 3]
mov edx, dword [0x140176bbf]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x140054f97
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x140054dd2
jmp 0x140054ddc
test r15d, r15d
je 0x140054dd2
lea rdx, [0x140176834]
mov rcx, rax
mov r8, rbx
call fcn.1400b6b70
jmp 0x140054dce
test r15d, r15d
je 0x140054dd2
lea rdx, [0x140176914]
mov rcx, rax
mov r8, rbx
call fcn.1400b6b70
jmp 0x140054e58
test r15d, r15d
je 0x140054dd2
lea rdx, [0x1401769f4]
mov rcx, rax
mov r8, rbx
call fcn.1400b6b70
jmp 0x140054ec1
test r15d, r15d
je 0x140054dd2
lea rdx, [0x140176ad4]
mov rcx, rax
mov r8, rbx
call fcn.1400b6b70
jmp 0x140054f2a
test r15d, r15d
je 0x140054dd2
lea rdx, [0x140176bbc]
mov rcx, rax
mov r8, rbx
call fcn.1400b6b70
jmp 0x140054f97