Function at 0x140129b00
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140364e40]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
mov word [rsp + 0x50], ax
lea rcx, str.libcrypto.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
jne 0x140129b7f
lea rdx, str.Error_loading_libcrypto.dll
jmp 0x14012a054
lea rdx, str.EVP_CIPHER_CTX_new
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x58], rax
lea rdx, str.EVP_EncryptInit_ex
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, str.EVP_EncryptUpdate
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.EVP_EncryptFinal_ex
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
lea rdx, str.EVP_DecryptInit_ex
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
lea rdx, str.EVP_DecryptUpdate
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [rsp + 0x68], rax
lea rdx, str.EVP_DecryptFinal_ex
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
lea rdx, str.EVP_CIPHER_CTX_free
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
cmp qword [rsp + 0x58], 0
je 0x14012a04d
test r14, r14
je 0x14012a04d
test r15, r15
je 0x14012a04d
test r12, r12
je 0x14012a04d
test r13, r13
je 0x14012a04d
test rdi, rdi
je 0x14012a04d
cmp qword [rsp + 0x60], 0
je 0x14012a04d
test rax, rax
je 0x14012a04d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0xa0]
call fcn.14012a4f0
test eax, eax
je 0x14012a044
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x90]
call fcn.14012a4f0
test eax, eax
je 0x14012a044
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov qword [rbp - 0x80], rax
mov ecx, 0x337a27
call fcn.1402a7fa0
test rax, rax
je 0x14012a03d
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
mov qword [rsp + 0x70], rdi
lea rbx, [rdi + 0x337a00]
mov qword [rbp - 0x80], rbx
mov r8d, 0x337a00
lea rdx, [0x140364ec0]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x78], rbx
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x80]
call fcn.14012a4f0
test eax, eax
je 0x140129fdc
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x70]
call fcn.14012a4f0
test eax, eax
je 0x140129fdc
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x40], rsi
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x90]
lea r8, [rbp + 0xa0]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.140129340
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x70]
lea r8, [rbp + 0x80]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x48]
call fcn.140129340
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rbx
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x30], rdi
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x70]
lea r8, [rbp + 0x80]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x60]
call fcn.140129590
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x40], rsi
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x90]
lea r8, [rbp + 0xa0]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x78]
call fcn.140129590
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rax
lea r9, [rsp + 0x50]
mov r8, qword [rbp - 0x78]
lea rdx, [rbp]
lea rcx, [rbp - 0x18]
call fcn.1401297f0
mov ebx, eax
test eax, eax
je 0x140129ead
lea rdx, str.Error_running_file__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14012a180
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x14034a308]
call fcn.14012a180
mov rcx, rax
lea rdx, [0x14012a350]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ebx, 1
xor edi, edi
jmp 0x140129eb1
xor edi, edi
mov ebx, edi
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140129efa
mov rdx, qword [rbp - 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140129ee9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140129ee9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402a7fdc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rdi
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140129f43
mov rdx, qword [rbp - 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140129f32
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140129f32
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402a7fdc
mov qword [rbp - 0x60], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140129f8c
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140129f7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140129f7b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402a7fdc
mov qword [rbp - 0x48], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140129fd5
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140129fc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140129fc4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402a7fdc
mov qword [rbp - 0x30], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov rdi, qword [rsp + 0x70]
jmp 0x14012a004
lea rdx, str.Error_generating_random_bytes_for_second_key_IV
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14012a180
mov rcx, rax
lea rdx, [0x14012a350]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ebx, 1
test rdi, rdi
je 0x14012a039
mov rdx, qword [rbp - 0x80]
sub rdx, rdi
mov r8, rdi
cmp rdx, 0x1000
jb 0x14012a031
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub r8, rdi
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x14012a03d
mov rcx, rdi
call fcn.1402a7fdc
mov eax, ebx
jmp 0x14012a075
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.Error_generating_random_bytes_for_key_IV
jmp 0x14012a054
lea rdx, str.Error_getting_function_addresses
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14012a180
lea rdx, [0x14012a350]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1402a7f80
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret