Function at 0x140019180
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x14005d030]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400192df
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
test eax, eax
jne 0x1400192df
lea rcx, str.AESCryptoUtility:_Error_during_CryptDestroyKey__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rbx, [rbp + 0x49]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
nop word [rax + rax]
sub rbx, 2
mov eax, 0xcccccccd
mul r9d
mov r8d, edx
shr r8d, 3
movzx ecx, r8w
shl cx, 2
lea edx, [rcx + r8]
add dx, dx
sub r9w, dx
add r9w, 0x30
mov word [rbx], r9w
mov r9d, r8d
test r8d, r8d
jne 0x1400191f0
lea r8, [rbp + 0x49]
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.1400162e0
lea r8, [rbp - 1]
lea rdx, str.Error_code_:
lea rcx, [rbp - 0x21]
call fcn.140015430
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x14001928b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019286
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001942e
call fcn.140024800
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x1400192df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400192da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019434
call fcn.140024800
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140019407
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
jne 0x140019407
lea rcx, str.AESCryptoUtility:_Error_during_CryptReleaseContext__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rbx, [rbp + 0x49]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
nop word [rax + rax]
sub rbx, 2
mov eax, 0xcccccccd
mul r9d
shr edx, 3
movzx ecx, dx
shl cx, 2
lea r8d, [rcx + rdx]
add r8w, r8w
sub r9w, r8w
add r9w, 0x30
mov word [rbx], r9w
mov r9d, edx
test edx, edx
jne 0x140019320
lea r8, [rbp + 0x49]
mov rdx, rbx
lea rcx, [rbp - 1]
call fcn.1400162e0
lea r8, [rbp - 1]
lea rdx, str.Error_code_:
lea rcx, [rbp - 0x21]
call fcn.140015430
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x1400193b6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400193b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001943a
call fcn.140024800
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x140019407
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019401
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019428
call fcn.140024800
nop
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400247e0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14002bf94
int3
call fcn.14002bf94
int3
call fcn.14002bf94
int3
call fcn.14002bf94
int3