Function at 0x180033150
Capabilities:
Encrypt data using aes via winapi

Disassembly:
push rbp
sub rsp, 0xc0
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x50], r9
mov qword [rbp - 0x48], r8
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x38], rcx
mov rax, qword [0x1800950a8]
xor rax, rbp
mov qword [rbp + 0x38], rax
mov dword [rbp - 0x30], 0x9dce834f
mov eax, dword [rbp - 0x30]
mov dword [rbp - 0x54], eax
sub eax, 0x8025d8e9
je 0x180033572
jmp 0x18003319b
mov eax, dword [rbp - 0x54]
sub eax, 0x9dce834f
je 0x1800332f6
jmp 0x1800331ae
mov eax, dword [rbp - 0x54]
sub eax, 0xa843e667
je 0x1800335c2
jmp 0x1800331c1
mov eax, dword [rbp - 0x54]
sub eax, 0xb2343c65
je 0x1800333e1
jmp 0x1800331d4
mov eax, dword [rbp - 0x54]
sub eax, 0xb932c1fb
je 0x180033466
jmp 0x1800331e7
mov eax, dword [rbp - 0x54]
sub eax, 0xd66aa9ac
je 0x1800335e1
jmp 0x1800331fa
mov eax, dword [rbp - 0x54]
sub eax, 0xe087bb3d
je 0x18003340e
jmp 0x18003320d
mov eax, dword [rbp - 0x54]
sub eax, 0xecb3ac0e
je 0x180033360
jmp 0x180033220
mov eax, dword [rbp - 0x54]
sub eax, 0x17164e0
je 0x180033485
jmp 0x180033233
mov eax, dword [rbp - 0x54]
sub eax, 0x31a91c5
je 0x1800333b4
jmp 0x180033246
mov eax, dword [rbp - 0x54]
sub eax, 0x5cf7dc0
je 0x1800335f3
jmp 0x180033259
mov eax, dword [rbp - 0x54]
sub eax, 0x1782f2e7
je 0x18003344b
jmp 0x18003326c
mov eax, dword [rbp - 0x54]
sub eax, 0x1e6cb0d9
je 0x180033479
jmp 0x18003327f
mov eax, dword [rbp - 0x54]
sub eax, 0x31b3c723
je 0x1800335af
jmp 0x180033292
mov eax, dword [rbp - 0x54]
sub eax, 0x373baa18
je 0x18003358d
jmp 0x1800332a5
mov eax, dword [rbp - 0x54]
sub eax, 0x3cd89fc5
je 0x180033394
jmp 0x1800332b8
mov eax, dword [rbp - 0x54]
sub eax, 0x47f968c3
je 0x180033316
jmp 0x1800332cb
mov eax, dword [rbp - 0x54]
sub eax, 0x5ba4eae2
je 0x18003342f
jmp 0x1800332de
mov eax, dword [rbp - 0x54]
sub eax, 0x5d0b327e
je 0x1800335d5
jmp 0x1800332f1
jmp 0x180033612
mov eax, 0x10
call fcn.18008acc0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x30], 0x47f968c3
jmp 0x180033612
mov eax, 0x10
mov qword [rbp - 0x60], rax
call fcn.18008acc0
sub rsp, rax
mov rax, qword [rbp - 0x60]
mov rcx, rsp
mov qword [rbp - 0x20], rcx
call fcn.18008acc0
sub rsp, rax
mov rax, qword [rbp - 0x60]
mov rcx, rsp
mov qword [rbp - 0x18], rcx
call fcn.18008acc0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x30], 0xecb3ac0e
jmp 0x180033612
mov eax, 0x30
call fcn.18008acc0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 8], rax
mov eax, 0x10
call fcn.18008acc0
sub rsp, rax
mov rax, rsp
mov qword [rbp], rax
mov dword [rbp - 0x30], 0x3cd89fc5
jmp 0x180033612
mov eax, 0x10
call fcn.18008acc0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 8], rax
mov dword [rbp - 0x30], 0x31a91c5
jmp 0x180033612
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x50]
mov rax, qword [rbp - 0x28]
mov qword [rax], r8
mov rax, qword [rbp - 0x20]
mov qword [rax], rdx
mov rax, qword [rbp - 0x18]
mov qword [rax], rcx
mov dword [rbp - 0x30], 0xb2343c65
jmp 0x180033612
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x10]
mov qword [rax], rcx
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
mov qword [rbp + 0x10], rax
mov rax, qword [rbp - 0x18]
mov rax, qword [rax]
mov qword [rbp + 0x18], rax
mov dword [rbp - 0x30], 0xe087bb3d
jmp 0x180033612
mov rcx, qword [rbp + 0x18]
sub rsp, 0x20
call fcn.180031f30
add rsp, 0x20
mov qword [rbp + 0x20], rax
mov dword [rbp - 0x30], 0x5ba4eae2
jmp 0x180033612
mov rax, qword [rbp + 0x20]
cmp rax, 0
sete al
and al, 1
mov byte [rbp + 0x2f], al
mov dword [rbp - 0x30], 0x1782f2e7
jmp 0x180033612
mov dl, byte [rbp + 0x2f]
mov eax, 0x17164e0
mov ecx, 0xb932c1fb
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x30], eax
jmp 0x180033612
mov dword [rbp - 0x2c], 0xffffffff
mov dword [rbp - 0x30], 0x1e6cb0d9
jmp 0x180033612
mov dword [rbp - 0x30], 0xd66aa9ac
jmp 0x180033612
mov rcx, qword [rbp - 8]
xor edx, edx
mov r8d, 0x2c
sub rsp, 0x20
call sub.msvcrt.dll_memset
add rsp, 0x20
mov rax, qword [rbp - 8]
mov byte [rax], 8
mov rax, qword [rbp - 8]
mov byte [rax + 1], 2
mov rax, qword [rbp - 8]
mov word [rax + 2], 0
mov rax, qword [rbp - 8]
mov dword [rax + 4], 0x660e
mov rax, qword [rbp - 0x28]
mov rax, qword [rax]
mov ecx, eax
mov rax, qword [rbp - 8]
mov dword [rax + 8], ecx
mov rcx, qword [rbp - 8]
add rcx, 0xc
mov rax, qword [rbp - 0x20]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
sub rsp, 0x20
call sub.msvcrt.dll_memcpy
add rsp, 0x20
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 8]
mov qword [rbp - 0x70], rax
mov rax, qword [rbp - 0x18]
mov rcx, qword [rax]
sub rsp, 0x20
call fcn.180031f30
mov rdx, qword [rbp - 0x70]
add rsp, 0x20
mov rcx, rax
mov rax, qword [rbp - 0x68]
mov r8d, 0x2c
xor r9d, r9d
xor r10d, r10d
sub rsp, 0x30
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], rax
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
add rsp, 0x30
mov ecx, eax
mov rax, qword [rbp]
mov dword [rax], ecx
mov rax, qword [rbp + 8]
mov dword [rax], 0
mov rax, qword [rbp]
mov eax, dword [rax]
mov dword [rbp + 0x30], eax
mov dword [rbp - 0x30], 0x8025d8e9
jmp 0x180033612
mov edx, dword [rbp + 0x30]
mov eax, 0xa843e667
mov ecx, 0x373baa18
cmp edx, 0
cmove eax, ecx
mov dword [rbp - 0x30], eax
jmp 0x180033612
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
mov ecx, eax
mov rax, qword [rbp + 8]
mov dword [rax], ecx
mov dword [rbp - 0x30], 0x31b3c723
jmp 0x180033612
mov dword [rbp - 0x2c], 0xffffffff
mov dword [rbp - 0x30], 0xd66aa9ac
jmp 0x180033612
mov dword [rbp - 0x2c], 0
mov dword [rbp - 0x30], 0x5d0b327e
jmp 0x180033612
mov dword [rbp - 0x30], 0xd66aa9ac
jmp 0x180033612
mov eax, dword [rbp - 0x2c]
mov dword [rbp + 0x34], eax
mov dword [rbp - 0x30], 0x5cf7dc0
jmp 0x180033612
mov eax, dword [rbp + 0x34]
mov dword [rbp - 0x74], eax
mov rcx, qword [rbp + 0x38]
xor rcx, rbp
sub rsp, 0x20
call fcn.18008ac40
mov eax, dword [rbp - 0x74]
lea rsp, [rbp + 0x40]
pop rbp
ret
jmp 0x180033185