Function at 0x1400d4370
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 [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [0x140307280]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov r8d, 6
call fcn.140165aa0
xor edi, edi
test eax, eax
je 0x1400d441c
lea rcx, [rsp + 0x20]
call fcn.140165a60
movzx r15d, byte [reloc.OLEAUT32.dll_VariantCopy]
cmp rax, r15
jne 0x1400d4450
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.14015ec10
lea r14, [0x140354de0]
cmp r15d, 7
jne 0x1400d4437
mov ecx, dword [rax]
mov edx, dword [0x140354de4]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x1400d4405
mov ecx, dword [rax + 3]
mov edx, dword [0x140354de7]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x1400d440e
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400d4450
mov eax, dword [r14]
mov dword [rsi], eax
mov edi, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140198b70
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test r15d, r15d
je 0x1400d4412
lea rdx, [0x140354de4]
mov rcx, rax
mov r8, rbx
call fcn.14019a510
jmp 0x1400d440e
lea rcx, [rsp + 0x20]
call fcn.140165a60
movzx r15d, byte [reloc.OLEAUT32.dll_VariantInit]
cmp rax, r15
jne 0x1400d44d4
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.14015ec10
lea r14, [0x140354fa0]
cmp r15d, 7
jne 0x1400d44b7
mov ecx, dword [rax]
mov edx, dword [0x140354fa4]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x1400d44a4
mov ecx, dword [rax + 3]
mov edx, dword [0x140354fa7]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x1400d44ad
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400d4412
jmp 0x1400d44d4
test r15d, r15d
je 0x1400d4412
lea rdx, [0x140354fa4]
mov rcx, rax
mov r8, rbx
call fcn.14019a510
jmp 0x1400d44ad
lea rcx, [rsp + 0x20]
call fcn.140165a60
movzx r15d, byte [reloc.OLEAUT32.dll_VariantInit]
cmp rax, r15
jne 0x1400d4558
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.14015ec10
lea r14, [0x140354ec0]
cmp r15d, 7
jne 0x1400d453b
mov ecx, dword [rax]
mov edx, dword [0x140354ec4]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x1400d4528
mov ecx, dword [rax + 3]
mov edx, dword [0x140354ec7]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x1400d4531
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400d4412
jmp 0x1400d4558
test r15d, r15d
je 0x1400d4412
lea rdx, [0x140354ec4]
mov rcx, rax
mov r8, rbx
call fcn.14019a510
jmp 0x1400d4531
lea rcx, [rsp + 0x20]
call fcn.140165a60
movzx r15d, byte [0x14035508d]
cmp rax, r15
jne 0x1400d45c1
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.14015ec10
lea r14, [0x140355080]
cmp r15d, 7
jne 0x1400d462f
mov ecx, dword [rax]
mov edx, dword [0x140355084]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x1400d45b0
mov ecx, dword [rax + 3]
mov edx, dword [0x140355087]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x1400d45b9
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400d4412
lea rcx, [rsp + 0x20]
call fcn.140165a60
movzx r15d, byte [0x140355175]
cmp rax, r15
jne 0x1400d441c
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.14015ec10
lea r14, [0x140355168]
cmp r15d, 7
jne 0x1400d464f
mov ecx, dword [rax]
mov edx, dword [0x14035516c]
bswap ecx
bswap edx
cmp ecx, edx
jne 0x1400d4619
mov ecx, dword [rax + 3]
mov edx, dword [0x14035516f]
bswap ecx
bswap edx
xor eax, eax
cmp ecx, edx
je 0x1400d4622
xor eax, eax
cmp ecx, edx
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400d4412
jmp 0x1400d441c
test r15d, r15d
je 0x1400d4412
lea rdx, [0x140355084]
mov rcx, rax
mov r8, rbx
call fcn.14019a510
jmp 0x1400d45b9
test r15d, r15d
je 0x1400d4412
lea rdx, [0x14035516c]
mov rcx, rax
mov r8, rbx
call fcn.14019a510
jmp 0x1400d4622