Function at 0x180014f10
Capabilities:
Create new key via cryptacquirecontext
Encode data using xor
Hash data with crc32
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xaa0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xae0], rbx
mov rax, qword [0x18010f050]
xor rax, rsp
mov qword [rsp + 0xa90], rax
mov rbx, rdx
mov rbp, rcx
xor edx, edx
mov r8d, 0x1ff
lea rcx, [rsp + 0x891]
call fcn.1800795c0
mov dword [rsp + 0x890], 0x5120372
mov dword [rsp + 0x894], 2
mov eax, dword [rbp + 0x378]
mov dword [rsp + 0x8a4], eax
mov eax, dword [rbp + 0x370]
mov dword [rsp + 0x8a0], eax
mov rax, qword [rbp + 0x30]
shr rax, 9
mov dword [rsp + 0x8ac], eax
xor edx, edx
mov r8d, 0x280
lea rcx, [rsp + 0x50]
call fcn.1800795c0
xor edi, edi
mov dword [rsp + 0x550], edi
mov dword [rsp + 0x554], edi
mov dword [rsp + 0x558], edi
mov qword [rsp + 0x560], rdi
mov dword [rsp + 0x568], 1
mov dword [rsp + 0x20], edi
lea r9d, [rdi + 1]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x560]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x180015029
mov dword [rsp + 0x20], 8
lea r9d, [rdi + 1]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x560]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov ecx, dword [rsp + 0x568]
test eax, eax
cmove ecx, edi
mov dword [rsp + 0x568], ecx
lea rcx, [rsp + 0x50]
call fcn.1800184e0
lea rcx, [rsp + 0x50]
call fcn.180018b70
lea rcx, [rsp + 0x50]
call fcn.1800184e0
mov dword [rsp + 0x550], 1
mov dword [rbp + 0x88], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x3c], edi
mov qword [rsp + 0x30], rdi
mov rax, qword [rbx]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [rax + 0x58]
test eax, eax
jne 0x180015291
cmp dword [rsp + 0x38], eax
je 0x180015291
cmp qword [rsp + 0x30], 0
je 0x180015291
lea rcx, [0x1800ef678]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
test rax, rax
jne 0x1800150bb
mov ecx, 0x8007000e
call fcn.180013170
int3
xor r9d, r9d
mov r8d, 0x400
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call sub.OLEAUT32.dll_VarR8Pow
cmp eax, 1
sete sil
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test sil, sil
sete al
test al, al
je 0x180015291
mov dword [rbp + 0x88], 1
or dword [rsp + 0x898], 1
cmp qword [rbp + 0x398], 0
jne 0x18001517c
mov ecx, dword [rbp + 0x370]
lea rdx, [0x1801171e8]
call fcn.180077024
mov qword [rbp + 0x398], rax
test rax, rax
jne 0x18001516b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
xor edx, edx
mov r8d, 0x280
lea rcx, [rsp + 0x50]
call fcn.1800795c0
cmp dword [rsp + 0x568], 0
je 0x180015161
xor edx, edx
mov rcx, qword [rsp + 0x560]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 0x8007000e
jmp 0x180015805
mov r8d, dword [rbp + 0x370]
xor edx, edx
mov rcx, rax
call fcn.1800795c0
cmp dword [rsp + 0x550], 0
je 0x18001524f
mov r8d, 0x40
lea rdx, [rsp + 0x8b0]
lea rcx, [rsp + 0x50]
call fcn.1800181f0
test eax, eax
je 0x18001524f
lea rcx, [rsp + 0x50]
call fcn.1800184e0
cmp dword [rsp + 0x550], 0
je 0x18001520d
mov r8d, 0x40
lea rdx, [rsp + 0x900]
lea rcx, [rsp + 0x50]
call fcn.1800181f0
test eax, eax
je 0x18001520d
lea rcx, [rsp + 0x50]
call fcn.1800184e0
mov dword [rsp + 0x8f0], 0x10211a41
mov edx, 0x40
lea rcx, [rsp + 0x900]
call fcn.180018170
mov dword [rsp + 0x8f4], eax
jmp 0x180015291
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
xor edx, edx
mov r8d, 0x280
lea rcx, [rsp + 0x50]
call fcn.1800795c0
cmp dword [rsp + 0x568], 0
je 0x180015245
xor edx, edx
mov rcx, qword [rsp + 0x560]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 0x80004005
jmp 0x180015805
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
xor edx, edx
mov r8d, 0x280
lea rcx, [rsp + 0x50]
call fcn.1800795c0
cmp dword [rsp + 0x568], 0
je 0x180015287
xor edx, edx
mov rcx, qword [rsp + 0x560]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 0x80004005
jmp 0x180015805
mov byte [rsp + 0x850], 0
xor eax, eax
mov qword [rsp + 0x851], rax
mov qword [rsp + 0x859], rax
mov qword [rsp + 0x861], rax
mov qword [rsp + 0x869], rax
mov qword [rsp + 0x871], rax
mov qword [rsp + 0x879], rax
mov qword [rsp + 0x881], rax
mov dword [rsp + 0x889], eax
mov word [rsp + 0x88d], ax
mov byte [rsp + 0x88f], al
or rsi, 0xffffffffffffffff
cmp dword [rbp + 0x88], eax
je 0x18001546a
lea rdx, [rsp + 0x850]
lea rcx, [rsp + 0x900]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x10], rax
mov rax, qword [rcx + 0x18]
mov qword [rdx + 0x18], rax
mov rax, qword [rcx + 0x20]
mov qword [rdx + 0x20], rax
mov rax, qword [rcx + 0x28]
mov qword [rdx + 0x28], rax
mov rax, qword [rcx + 0x30]
mov qword [rdx + 0x30], rax
mov rax, qword [rcx + 0x38]
mov qword [rdx + 0x38], rax
cmp dword [rsp + 0x550], 0
je 0x180015428
mov r8d, 0x150
lea rdx, [rsp + 0x940]
lea rcx, [rsp + 0x50]
call fcn.1800181f0
test eax, eax
je 0x180015428
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test rbx, rbx
je 0x1800153e6
lea r9, [rsp + 0x8b0]
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x570]
call fcn.180017be0
test eax, eax
je 0x1800153e6
mov r9, rsi
lea r8d, [rsi + 0x11]
lea rdx, [rsp + 0x8a0]
lea rcx, [rsp + 0x570]
call fcn.180017df0
mov r9, rsi
mov r8d, 0x1a0
lea rdx, [rsp + 0x8f0]
lea rcx, [rsp + 0x570]
call fcn.180017df0
jmp 0x18001546a
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
xor edx, edx
mov r8d, 0x280
lea rcx, [rsp + 0x50]
call fcn.1800795c0
cmp dword [rsp + 0x568], 0
je 0x18001541e
xor edx, edx
mov rcx, qword [rsp + 0x560]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 0x80004005
jmp 0x180015805
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
xor edx, edx
mov r8d, 0x280
lea rcx, [rsp + 0x50]
call fcn.1800795c0
cmp dword [rsp + 0x568], 0
je 0x180015460
xor edx, edx
mov rcx, qword [rsp + 0x560]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 0x80004005
jmp 0x180015805
mov r9d, 0x200
lea r10, [rsp + 0x890]
or r8d, 0xffffffff
lea r11, [0x180115370]
nop word [rax + rax]
movzx ecx, byte [r10]
mov eax, r8d
xor rcx, rax
movzx edx, cl
shr eax, 8
mov r8d, dword [r11 + rdx*4]
xor r8d, eax
inc r10
sub r9d, 1
jne 0x180015490
not r8d
mov dword [rsp + 0x89c], r8d
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x180015515
call fcn.180003220
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
xor edx, edx
mov r8d, 0x280
lea rcx, [rsp + 0x50]
call fcn.1800795c0
cmp dword [rsp + 0x568], 0
je 0x18001550e
xor edx, edx
mov rcx, qword [rsp + 0x560]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, ebx
jmp 0x180015805
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
mov r8d, 0x200
lea rdx, [rsp + 0x890]
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x180015581
call fcn.180003220
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
xor edx, edx
mov r8d, 0x280
lea rcx, [rsp + 0x50]
call fcn.1800795c0
cmp dword [rsp + 0x568], 0
je 0x18001557a
xor edx, edx
mov rcx, qword [rsp + 0x560]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, ebx
jmp 0x180015805
mov edx, dword [rbp + 0x378]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x1800155e1
call fcn.180003220
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
xor edx, edx
mov r8d, 0x280
lea rcx, [rsp + 0x50]
call fcn.1800795c0
cmp dword [rsp + 0x568], 0
je 0x1800155da
xor edx, edx
mov rcx, qword [rsp + 0x560]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, ebx
jmp 0x180015805
mov ecx, dword [rbp + 0x374]
mov rax, qword [rbp + 0x30]
shr rax, 9
xor edx, edx
div rcx
mov ecx, eax
lea rbx, [rcx*4 + 0x1ff]
and rbx, 0xfffffffffffffe00
shr rbx, 2
mov rcx, qword [rbp + 0x380]
test rcx, rcx
je 0x18001561a
call fcn.18007702c
mov r12d, ebx
mov eax, 4
mul r12
cmovo rax, rsi
lea rdx, [0x1801171e8]
mov rcx, rax
call fcn.180077024
mov qword [rbp + 0x380], rax
test rax, rax
jne 0x180015686
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
xor edx, edx
mov r8d, 0x280
lea rcx, [rsp + 0x50]
call fcn.1800795c0
cmp dword [rsp + 0x568], 0
je 0x18001567c
xor edx, edx
mov rcx, qword [rsp + 0x560]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 0x8007000e
jmp 0x180015805
shl r12, 2
mov r8, r12
mov edx, 0xff
mov rcx, rax
call fcn.1800795c0
cmp dword [rbp + 0x88], 0
je 0x180015730
lea rdx, [rsp + 0x850]
lea rcx, [rbp + 0x8c]
call fcn.180017d60
test eax, eax
jne 0x180015701
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
xor edx, edx
mov r8d, 0x280
lea rcx, [rsp + 0x50]
call fcn.1800795c0
cmp dword [rsp + 0x568], 0
je 0x1800156f7
xor edx, edx
mov rcx, qword [rsp + 0x560]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 0x80004005
jmp 0x180015805
mov rax, r12
shr rax, 9
sub rsi, rax
mov qword [rbp + 0x368], rsi
lea r8d, [rbx*4]
mov r9, rsi
mov rdx, qword [rbp + 0x380]
lea rcx, [rbp + 0x8c]
call fcn.180017df0
lea r8d, [rbx*4]
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
mov rdx, qword [rbp + 0x380]
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1800157ad
mov rcx, qword [rbp + 0x380]
call fcn.18007702c
mov qword [rbp + 0x380], rdi
call fcn.180003220
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
xor edx, edx
mov r8d, 0x280
lea rcx, [rsp + 0x50]
call fcn.1800795c0
cmp dword [rsp + 0x568], 0
je 0x1800157a9
xor edx, edx
mov rcx, qword [rsp + 0x560]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, ebx
jmp 0x180015805
cmp dword [rbp + 0x88], 0
je 0x1800157cb
mov r8, r12
mov edx, 0xff
mov rcx, qword [rbp + 0x380]
call fcn.1800795c0
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
xor edx, edx
mov r8d, 0x280
lea rcx, [rsp + 0x50]
call fcn.1800795c0
cmp dword [rsp + 0x568], 0
je 0x180015803
xor edx, edx
mov rcx, qword [rsp + 0x560]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0xa90]
xor rcx, rsp
call fcn.180076a70
mov rbx, qword [rsp + 0xae0]
add rsp, 0xaa0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret