Function at 0x42a833
Capabilities:
Encrypt data using openssl rsa
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1c8
mov r14, rdx
mov rbx, rcx
lea rax, [rsp + 0x120]
lea rsi, [0x00489e80]
mov ecx, 9
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
mov qword [rax - 0x10], rdx
mov qword [rax - 8], 0x28e
lea rcx, [rsp + 0x121]
lea rdx, [0x00491921]
mov r8d, 0x27
call sub.ntdll.dll_memcmp
test eax, eax
je 0x42a8be
mov r8d, 5
mov ecx, 0x48862a09
movabs r9, 0x101010df786
xor r10d, r10d
xor esi, esi
xor ebp, ebp
xor r11d, r11d
xor edi, edi
xor r14d, r14d
xor r12d, r12d
xor eax, eax
jmp 0x42ac02
lea rdx, [rsp + 0xd0]
mov qword [rdx], r14
mov eax, 0x28e
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.00432324
cmp dword [rsi], 2
jne 0x42a903
mov dl, byte [rsp + 0x34]
lea rcx, [rsp + 0x90]
call fcn.0043237e
jmp 0x42a937
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xc0], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmm2, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0xb0], xmm2
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
mov r8d, dword [rsp + 0x90]
cmp r8d, 2
jne 0x42aa1e
movzx r15d, byte [rsp + 0x94]
movzx eax, word [rsp + 0x95]
mov qword [rsp + 0xc8], rax
lea rdi, [rsp + 0x30]
lea rsi, [rsp + 0xd0]
mov rcx, rdi
mov rdx, rsi
call fcn.00432324
mov r9d, dword [rdi]
cmp r9d, 2
jne 0x42ab3b
mov r12b, byte [rsp + 0x34]
xor r13d, r13d
test r12b, r12b
js 0x42aa79
mov ecx, r12d
cmp r15d, 9
jne 0x42ac5d
movzx eax, cl
shl r13d, 8
or r13d, eax
mov eax, dword [rsp + 0xe0]
mov ecx, dword [rsp + 0xe8]
xor r8d, r8d
sub eax, ecx
cmovb eax, r8d
cmp eax, r13d
jae 0x42ac94
add r13d, ecx
setb dl
mov r9d, 0xa
cmp r13d, 0xfffffff
ja 0x42ad48
test dl, dl
jne 0x42ad48
add eax, ecx
setb dl
cmp eax, 0xfffffff
ja 0x42ad4d
test dl, dl
jne 0x42ad4d
shl r13, 0x20
or r13, 3
mov r8d, 1
mov r9, r13
jmp 0x42ad4f
mov r11b, byte [rsp + 0x98]
movzx eax, byte [rsp + 0x9b]
shl eax, 0x10
movzx r9d, word [rsp + 0x99]
or r9d, eax
mov r10d, dword [rsp + 0x9c]
mov rax, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x94]
jmp 0x42abc7
xor r9d, r9d
mov bpl, 0xb
cmp r12b, 0x80
je 0x42ab39
cmp r12b, 0x84
ja 0x42ab39
movzx esi, r12b
xor rsi, 0x80
je 0x42ab39
xor edx, edx
lea rdi, [rsp + 0x30]
lea r14, [rsp + 0xd0]
mov r13d, edx
mov rcx, rdi
mov rdx, r14
call fcn.00432324
mov r9d, dword [rsp + 0x30]
cmp r9d, 2
jne 0x42ab3b
mov eax, r13d
shl eax, 8
movzx ecx, byte [rsp + 0x34]
lea edx, [rax + rcx]
dec rsi
jne 0x42aab3
cmp edx, 0xfffffff
lea rsi, [rsp + 0xd0]
ja 0x42ad5f
and edx, 0xffffff80
mov r8b, 0x81
cmp edx, 0x80
je 0x42ab2d
lea edx, [rax - 0x100]
mov r8b, 0x82
cmp edx, 0xff00
jb 0x42ab2d
lea edx, [rax - 0x10000]
mov r8b, 0x83
cmp edx, 0xff0000
jb 0x42ab2d
mov r8b, 0x84
cmp eax, 0x1000000
jb 0x42ab36
cmp r8b, r12b
je 0x42a99b
xor r9d, r9d
jmp 0x42ab7e
mov cl, byte [rsp + 0x34]
mov bpl, byte [rsp + 0x38]
movzx eax, byte [rsp + 0x37]
shl eax, 0x10
movzx r13d, word [rsp + 0x35]
or r13d, eax
mov r11b, byte [rsp + 0x39]
movzx r14d, word [rsp + 0x3a]
mov r10d, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
and r13d, 0xffffff
shl r13, 8
movzx ecx, cl
or rcx, r13
xor r8d, r8d
cmp bpl, 0xb
movzx r13d, r11b
cmove r13d, r15d
mov r15, qword [rsp + 0xc8]
cmovne r15d, r14d
movzx ebp, bpl
mov r11d, 5
cmovne r11d, ebp
cmovne r8d, r9d
shl r15d, 8
movzx r9d, r13b
or r9d, r15d
shl r9, 0x28
movzx r11d, r11b
shl r11, 0x20
or r11, r9
or r11, rcx
mov dword [rsp + 0x28], r10d
mov qword [rsp + 0x20], r11
mov r9, qword [rsp + 0x24]
mov r14, r12
shr r14, 0x20
mov r11d, edi
shr r11d, 8
mov ebp, edi
shr ebp, 0x10
mov r10, rdi
shr r10, 0x18
mov dword [rbx + 0x10], r8d
mov dword [rbx + 0x14], ecx
mov qword [rbx + 0x18], r9
mov qword [rbx + 0x20], rax
mov dword [rbx + 0x28], r12d
mov dword [rbx + 0x2c], r14d
mov byte [rbx + 0x30], dil
mov byte [rbx + 0x31], r11b
mov byte [rbx + 0x32], bpl
mov dword [rbx + 0x33], r10d
shr r10, 0x20
mov byte [rbx + 0x37], r10b
mov qword [rbx + 0x38], rsi
mov qword [rbx + 0x40], rdx
mov qword [rbx + 8], 3
mov eax, 2
mov qword [rbx], rax
add rsp, 0x1c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0xc8]
mov eax, ecx
shl eax, 8
or r15d, eax
mov byte [rsp + 0x24], 0x11
mov byte [rsp + 0x27], 0
mov word [rsp + 0x25], 9
mov byte [rsp + 0x2a], ch
mov word [rsp + 0x28], r15w
xor r8d, r8d
mov ecx, dword [rsp + 0x20]
jmp 0x42abe3
mov eax, r13d
lea rdx, [rsp + 0x90]
mov qword [rdx], rsi
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.0043f872
mov r8d, dword [rsi]
cmp r8d, 2
jne 0x42ad24
lea rsi, [rsp + 0x30]
mov r14, qword [rsi + 8]
mov r15, qword [rsi + 0x10]
mov r12, qword [rsi + 0x18]
lea rdx, [rsp + 0x90]
mov rcx, rsi
call fcn.0043f872
mov r8d, dword [rsi]
cmp r8d, 2
jne 0x42ad24
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov eax, dword [rsp + 0x98]
mov ecx, dword [rsp + 0x9c]
cmp eax, ecx
jbe 0x42ad6a
xor r8d, r8d
sub eax, ecx
cmovb eax, r8d
mov byte [rsp + 0x24], 0x13
mov dword [rsp + 0x28], ecx
mov r8d, 1
jmp 0x42abe3
mov ecx, dword [rsp + 0x34]
mov r9, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
jmp 0x42ad51
mov ecx, r13d
jmp 0x42ad4f
mov ecx, eax
mov eax, eax
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x24], r9
jmp 0x42abe3
xor r9d, r9d
mov bpl, 0xa
jmp 0x42ab39
mov ecx, dword [rsp + 0xe8]
cmp byte [rsp + 0xec], 0
je 0x42ad83
mov r9d, 1
jmp 0x42ada2
mov eax, dword [rsp + 0xe0]
cmp eax, ecx
jbe 0x42adad
xor r8d, r8d
sub eax, ecx
cmovb eax, r8d
mov r9, rcx
shl r9, 0x20
or r9, 0x13
mov r8d, 1
jmp 0x42abe8
lea r12, [rsp + 0x168]
mov rcx, r12
mov rdx, r14
mov r8, r15
call fcn.0044067b
lea r14, [rsp + 0x198]
mov rcx, r14
mov rdx, rdi
mov r8, rsi
call fcn.0044067b
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movups xmm2, xmmword [r12 + 0x20]
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmm2, xmmword [r14 + 0x20]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x80], xmm2
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x30]
cmp rcx, 5
jb 0x42ae3a
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x42ae75
mov r8, qword [rsp + 0x40]
jmp 0x42ae47
test rcx, rcx
je 0x42ae75
lea r8, [rsp + 0x38]
mov rdx, rcx
mov r8, qword [r8 + rdx*8 - 8]
test r8, r8
je 0x42ae5b
bsr r8, r8
xor r8, 0x3f
jmp 0x42ae61
mov r8d, 0x40
shl rdx, 6
sub rdx, r8
cmp rdx, 0x23a0
ja 0x42af5a
mov r11, qword [rsp + 0x88]
cmp r11, 4
jbe 0x42ae8f
mov r11, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
jmp 0x42ae94
lea rsi, [rsp + 0x68]
test r11, r11
je 0x42af5a
mov r8d, ecx
shr r8d, 8
mov r9d, ecx
shr r9d, 0x10
mov rdx, rcx
shr rdx, 0x18
mov r10, qword [rsp + 0x60]
shl r11, 3
mov bpl, 1
xor r14d, r14d
xor edi, edi
test bpl, 1
je 0x42af5a
add rdi, qword [rsi + r14]
add r14, 8
xor ebp, ebp
cmp r11, r14
jne 0x42aec3
cmp rdi, 2
jb 0x42af5a
shr rdi, 0x21
jne 0x42af5a
mov r11, qword [rsp + 0x38]
movaps xmm0, xmmword [rsp + 0x80]
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x40], xmm1
mov dword [rbx + 8], r11d
shr r11, 0x20
movaps xmm2, xmmword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x68]
movaps xmmword [rsp + 0xf0], xmm1
movaps xmmword [rsp + 0x100], xmm0
mov dword [rbx + 0xc], r11d
movups xmmword [rbx + 0x10], xmm2
mov qword [rbx + 0x20], rsi
mov byte [rbx + 0x28], cl
mov byte [rbx + 0x29], r8b
mov byte [rbx + 0x2a], r9b
mov rcx, rdx
shr rcx, 0x20
mov byte [rbx + 0x2f], cl
mov dword [rbx + 0x2b], edx
mov qword [rbx + 0x30], r10
mov qword [rbx + 0x38], rdi
jmp 0x42ac46
cmp rcx, 5
jb 0x42af73
mov r8, qword [rsp + 0x40]
mov rcx, qword [0x004a30e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x88], 5
jb 0x42af91
mov r8, qword [rsp + 0x70]
mov rcx, qword [0x004a30e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov r8d, 4
jmp 0x42a8b9