Function at 0x140078020
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xf8
mov rax, qword [0x140130c00]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdi, rdx
mov r15, rcx
mov qword [rsp + 0x58], rdx
xor r13d, r13d
mov dword [rsp + 0x50], r13d
cmp byte [rcx + 0x30], r13b
jne 0x140078069
mov byte [rdx + 0x20], r13b
jmp 0x140078389
mov r12, qword [r8 + 0x10]
mov rdx, r8
mov rcx, qword [r8 + 0x18]
cmp rcx, 0xf
jbe 0x14007807d
mov rdx, qword [r8]
mov rax, rcx
cmp byte [rdx], 0x76
jne 0x1400780bf
mov rdx, r8
cmp rcx, 0xf
jbe 0x140078091
mov rdx, qword [r8]
cmp byte [rdx + 1], 0x31
jne 0x1400780bf
mov rax, r8
cmp rcx, 0xf
jbe 0x1400780a3
mov rax, qword [r8]
cmp byte [rax + 2], 0x31
je 0x14007810a
mov rcx, r8
mov rax, qword [r8 + 0x18]
cmp rax, 0xf
jbe 0x1400780b9
mov rcx, qword [r8]
cmp byte [rcx + 2], 0x30
je 0x14007810a
cmp byte [r15 + 0x31], r13b
je 0x140078385
mov rcx, r8
cmp rax, 0xf
jbe 0x1400780d5
mov rcx, qword [r8]
cmp byte [rcx], 0x76
jne 0x140078385
mov rcx, r8
cmp rax, 0xf
jbe 0x1400780ea
mov rcx, qword [r8]
cmp byte [rcx + 1], 0x32
jne 0x140078385
mov rcx, r8
cmp rax, 0xf
jbe 0x140078100
mov rcx, qword [r8]
cmp byte [rcx + 2], 0x30
jne 0x140078385
mov r14, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x140078117
mov r14, qword [r8]
mov dword [rbp - 0x19], r13d
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r13
mov qword [rbp + 7], r13
mov qword [rbp - 1], r13
mov qword [rbp + 7], send
mov byte [rbp - 0x11], r13b
xor eax, eax
movups xmmword [rbp - 0x79], xmm0
movups xmmword [rbp - 0x69], xmm0
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x79], 0x58
mov dword [rbp - 0x75], 1
cmp qword [r8 + 0x18], 0xf
jbe 0x14007816c
mov r8, qword [r8]
lea rax, [r8 + 3]
mov qword [rbp - 0x71], rax
mov dword [rbp - 0x69], reloc.SHLWAPI.dll_SHCreateMemStream
lea rax, [r12 - 0x10]
add rax, r14
mov qword [rbp - 0x51], rax
mov dword [rbp - 0x49], reloc.WS2_32.dll_recv
cmp byte [r9 + 0x20], 0
je 0x1400781ad
mov rax, r9
cmp qword [r9 + 0x18], 0xf
jbe 0x1400781a2
mov rax, qword [r9]
mov qword [rbp - 0x61], rax
mov eax, dword [r9 + 0x10]
mov dword [rbp - 0x59], eax
lea r8d, [r12 - 0x1f]
lea rdx, [r14 + 0xf]
mov dword [rsp + 0x48], r13d
lea rax, [rbp - 0x19]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x79]
mov rcx, qword [r15 + 0x28]
call qword [sym.imp.bcrypt.dll_BCryptDecrypt]
test eax, eax
jns 0x14007823a
mov byte [rdi + 0x20], 0
mov dword [rsp + 0x50], 1
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140078373
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078230
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400783b4
call fcn.1400ae880
jmp 0x140078373
mov ecx, dword [rbp - 0x19]
mov rdx, qword [rbp - 1]
cmp rcx, rdx
ja 0x14007825e
mov qword [rbp - 1], rcx
lea rax, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rax, qword [rbp - 0x11]
mov byte [rax + rcx], 0
jmp 0x1400782b4
mov rsi, rcx
sub rsi, rdx
mov r8, qword [rbp + 7]
mov rax, r8
sub rax, rdx
cmp rsi, rax
ja 0x14007829a
mov qword [rbp - 1], rcx
lea rbx, [rbp - 0x11]
cmp r8, 0xf
cmova rbx, qword [rbp - 0x11]
add rbx, rdx
mov r8, rsi
xor edx, edx
mov rcx, rbx
call main
mov byte [rbx + rsi], 0
jmp 0x1400782b4
mov byte [rsp + 0x20], 0
mov r9, rsi
movzx r8d, byte [rsp + 0x54]
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.140048e80
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rcx, qword [rbp - 0x11]
lea r8d, [r12 - 0x1f]
lea rdx, [r14 + 0xf]
mov dword [rsp + 0x48], r13d
lea rax, [rbp - 0x19]
mov qword [rsp + 0x40], rax
mov eax, dword [rbp - 0x19]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x79]
mov rcx, qword [r15 + 0x28]
call qword [sym.imp.bcrypt.dll_BCryptDecrypt]
test eax, eax
jns 0x140078348
mov byte [rdi + 0x20], 0
mov dword [rsp + 0x50], 1
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140078373
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078230
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400783b4
jmp 0x140078230
movups xmm0, xmmword [rbp - 0x11]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 1]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp - 1], r13
mov qword [rbp + 7], send
mov byte [rbp - 0x11], 0
mov byte [rdi + 0x20], 1
mov dword [rsp + 0x50], 1
mov qword [rbp - 1], r13
mov qword [rbp + 7], send
mov byte [rbp - 0x11], 0
jmp 0x140078391
mov byte [rdi + 0x20], r13b
mov dword [rsp + 0x50], 1
mov rax, rdi
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400ae860
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140098254
int3