Function at 0x1800669d0
Capabilities:
Encode data using xor
Hash data using fnv
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x6e0]
sub rsp, 0x7e0
mov rax, qword [0x180176040]
xor rax, rsp
mov qword [rbp + 0x6d0], rax
mov rbx, rcx
lea rcx, [rbp + 0x4c0]
call fcn.18004cd20
test al, al
je 0x1800673c6
cmp word [rbp + 0x4c0], 0
lea rax, [rbp + 0x4c0]
je 0x180066a3a
nop dword [rax + rax]
add rax, 2
cmp word [rax], 0
jne 0x180066a30
movzx ecx, word [rbx]
test cx, cx
je 0x180066a60
sub rbx, rax
nop word [rax + rax]
mov word [rax], cx
add rax, 2
movzx ecx, word [rax + rbx]
test cx, cx
jne 0x180066a50
xor r15d, r15d
lea rcx, [rbp + 0x4c0]
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov word [rax], r15w
lea r8d, [r15 + 1]
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x60], rax
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1800673c6
xor ecx, ecx
call fcn.1800e3ff0
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x68], rax
lea rcx, [rbp + 0xb0]
call fcn.1800e3fe8
movabs rax, 0xe241f644d4ad8186
lea r9, [rbp + 0xb0]
mov qword [rsp + 0x40], rax
lea r8, [rbp + 0x30]
mov rcx, qword [rsp + 0x40]
lea edx, [r15 + 0x40]
mov qword [rbp + 0x30], rcx
movabs rax, 0x91c31f13e9c0b1f
mov qword [rsp + 0x40], rax
lea rcx, [rbp + 0x70]
mov rax, qword [rsp + 0x40]
movabs r13, 0xc76c9b61f9c9a4dd
mov qword [rbp + 0x38], rax
movabs r12, 0x605111ac6ab92b46
movabs rax, 0xddb598cd1f1bb5bf
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x40], rax
movabs rax, 0xf93c67d2503e198b
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x40], r13
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x410], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x418], rax
movabs rax, 0xbe9bfdbf7e6ce4c7
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x420], rax
movabs rax, 0xf93c67d25a3439e8
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rbp + 0x30]
movdqa xmm1, xmmword [rbp + 0x40]
xorps xmm0, xmmword [rbp + 0x410]
mov qword [rbp + 0x428], rax
xorps xmm1, xmmword [rbp + 0x420]
movdqa xmmword [rbp + 0x40], xmm1
movdqa xmmword [rbp + 0x30], xmm0
call fcn.180055d10
lea rcx, [rbp + 0x70]
lea rax, [rbp + 0x70]
mov r8d, ecx
cmp byte [rbp + 0x70], r15b
je 0x180066beb
nop dword [rax + rax]
inc rax
mov r8, rax
cmp byte [rax], r15b
jne 0x180066be0
sub r8d, ecx
mov qword [rsp + 0x20], r15
mov rcx, r14
lea rdx, [rbp + 0x70]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
movabs rax, 0xa342ef0f9ca0c8be
lea rdx, [rbp]
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov rax, qword [rsp + 0x40]
mov qword [rbp], rax
movabs rax, 0x605111ac6ab9472a
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 8], rax
mov qword [rsp + 0x40], r13
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rbp]
mov rcx, qword [0x180178b08]
mov qword [rbp - 0x68], rax
xorps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp], xmm0
mov rax, qword [rcx]
mov r9, qword [rax + 0x68]
call r9
mov qword [rsp + 0x58], rax
mov rdi, rax
test rax, rax
je 0x1800673c6
movsxd rbx, dword [rax + 0x5c4]
mov dl, 1
mov qword [rsp + 0x810], rsi
call fcn.180071f90
mov rsi, rax
lea rdx, [rbp - 0x30]
movabs rax, 0xc74ebb0597bccbbb
mov r8d, edx
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
mov qword [rbp - 0x30], rcx
mov qword [rsp + 0x40], r12
mov rcx, qword [rsp + 0x40]
mov qword [rbp - 0x28], rcx
mov qword [rsp + 0x40], r13
mov rcx, qword [rsp + 0x40]
mov qword [rbp - 0x60], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x58], rax
xorps xmm0, xmmword [rbp - 0x60]
movq rax, xmm0
movdqa xmmword [rbp - 0x30], xmm0
test al, al
je 0x180066d0e
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x180066d03
mov rcx, qword [0x180176ed8]
sub r8d, edx
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x20], r15
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
movzx eax, word [rsi + 8]
test al, 4
je 0x180066d41
lea rdi, [0x18015eb20]
mov r9d, 0x10
jmp 0x180066d73
test al, 0x10
je 0x180066d5e
mov r9d, 8
lea rdx, [rbp + 0x472]
mov ecx, ebx
call fcn.1800678c0
mov rdx, rax
jmp 0x180066da2
test al, 0x20
je 0x1800671d4
lea rdi, [0x18015eb24]
mov r9d, 2
lea rdx, [rbp + 0x472]
mov ecx, ebx
call fcn.1800678c0
test byte [rsi + 8], 2
mov rcx, rax
mov rdx, rax
je 0x180066d9d
movzx eax, byte [rdi + 1]
mov byte [rdx - 1], al
lea rdx, [rdx - 2]
movzx eax, byte [rdi]
mov byte [rdx], al
mov rdi, qword [rsp + 0x58]
test ebx, ebx
js 0x180066db7
mov eax, 0x400
test word [rsi + 8], ax
je 0x180066db7
dec rdx
mov byte [rdx], 0x2b
mov rcx, qword [0x180176ed8]
lea r8, [rbp + 0x4b2]
xor esi, esi
sub r8d, edx
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
movabs rax, 0xa601fe099aba84ff
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x20]
mov rax, qword [rsp + 0x40]
mov r8d, edx
mov qword [rbp - 0x20], rax
movabs rax, 0x133462df0bd54866
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x18], rax
movabs rax, 0xcbff92d25e028de7
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x10], rax
movabs rax, 0xf93c67d25a345c84
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 8], rax
mov qword [rsp + 0x40], r13
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x430], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x438], rax
movabs rax, 0xbe9bfdbf7e6ce4c7
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x440], rax
movabs rax, 0xf93c67d25a3439e8
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movdqa xmm1, xmmword [rbp - 0x20]
xorps xmm1, xmmword [rbp + 0x430]
movdqa xmm0, xmmword [rbp - 0x10]
mov qword [rbp + 0x448], rax
movq rax, xmm1
xorps xmm0, xmmword [rbp + 0x440]
movdqa xmmword [rbp - 0x20], xmm1
movdqa xmmword [rbp - 0x10], xmm0
test al, al
je 0x180066edb
nop word [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], sil
jne 0x180066ed0
mov rcx, qword [0x180176ed8]
sub r8d, edx
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, 0xffffffffffffffff
lea edx, [rbx + 1]
mov r9, rax
mov eax, 8
mul rdx
cmovo rax, rcx
xor edx, edx
mov r8, rax
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r10, rbx
mov qword [rsp + 0x78], rax
mov r15, rax
lea r11, [rdi + 0x618]
mov rbx, rsi
mov r9d, esi
mov r8d, esi
mov rdx, rsi
mov rcx, qword [r11]
test rcx, rcx
je 0x180066f6e
nop word [rax + rax]
sub r9d, 1
jns 0x180066f65
mov qword [rax + rdx*8], rcx
inc r8d
inc rdx
cmp rdx, r10
jge 0x180066f7e
mov rcx, qword [rcx + 0x20]
test rcx, rcx
jne 0x180066f50
inc rbx
add r11, 0x28
cmp rbx, 0x100
jl 0x180066f42
movsxd rax, r8d
mov qword [rbp - 0x80], rax
test r8d, r8d
jle 0x180067398
mov r12, rsi
mov qword [rsp + 0x40], rsi
movabs rbx, 0x100000001b3
mov rax, qword [r15 + r12*8]
test rax, rax
je 0x180067386
mov r13, qword [rax + 0x10]
test r13, r13
je 0x180067386
mov rax, qword [rdi]
lea rdx, [rsp + 0x50]
mov r8, qword [r13 + 8]
mov rcx, rdi
call qword [rax + 0x10]
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x180067386
cmp word [r8 + 0x1c], 0
je 0x180067386
mov r8, qword [r8 + 8]
lea rdx, [rbp + 0x10]
movabs rax, 0xb449bb128aa8c8be
lea rcx, [rbp + 0xe0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x10], rax
movabs rax, 0x605111ac6ab92b4c
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x18], rax
movabs rax, 0xc76c9b61f9c9a4dd
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x50], rax
movabs rax, 0x605111ac6ab92b46
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movdqa xmm0, xmmword [rbp + 0x10]
mov qword [rbp - 0x48], rax
xorps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp + 0x10], xmm0
call fcn.180067650
cmp byte [rbp + 0xe0], 0
lea r8, [rbp + 0xe0]
mov ecx, r8d
lea rax, [rbp + 0xe0]
je 0x180067094
inc rax
cmp byte [rax], 0
jne 0x180067082
mov r8d, eax
lea rcx, [rbp + 0xe0]
sub r8d, ecx
mov qword [rsp + 0x20], rsi
mov rcx, r14
lea rdx, [rbp + 0xe0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x50]
mov r14d, esi
cmp si, word [rcx + 0x1c]
jge 0x180067381
mov r15, qword [rsp + 0x60]
xor r12d, r12d
mov edi, r12d
nop dword [rax]
mov rsi, qword [rcx + 0x28]
lea rdx, [rbp + 0x20]
mov r8, qword [r13 + 8]
movabs rcx, 0x605111ac6ab92b46
movabs rax, 0xc76ce844c7e4d7f8
mov r9, qword [rdi + rsi]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x20], rax
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x28], rax
movabs rax, 0xc76c9b61f9c9a4dd
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x300]
mov qword [rbp - 0x40], rax
mov rax, qword [rsp + 0x48]
movdqa xmm0, xmmword [rbp + 0x20]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp + 0x20], xmm0
call fcn.180067650
lea rax, [rbp + 0x300]
movabs rdx, 0xcbf29ce484222325
cmp byte [rbp + 0x300], r12b
je 0x180067178
nop word [rax + rax]
inc rax
cmp byte [rax], r12b
jne 0x180067170
lea rcx, [rbp + 0x300]
mov r8, r12
sub rax, rcx
je 0x1800671a8
nop word [rax + rax]
movsx rcx, byte [rbp + r8 + 0x300]
inc r8
xor rdx, rcx
imul rdx, rbx
cmp r8, rax
jb 0x180067190
mov rcx, qword [0x180178700]
lea rbx, [rdi + rsi]
cmp rcx, qword [0x180178708]
mov qword [rsp + 0x70], rdx
je 0x1800671f0
mov qword [rcx], rdx
mov eax, dword [rbx + 0x10]
mov dword [rcx + 8], eax
add qword [0x180178700], 0x10
jmp 0x180067201
mov r9d, 0xa
lea rdx, [rbp + 0x472]
mov ecx, ebx
call fcn.1800678c0
mov rdx, rax
jmp 0x180066da2
lea r9, [rbx + 0x10]
mov rdx, rcx
lea r8, [rsp + 0x70]
call fcn.180067a40
mov rax, qword [rdi + rsi + 8]
movabs rdx, 0xf93c67d25a3439e8
mov ecx, dword [rbx + 0x10]
mov r9, qword [rdi + rsi]
mov dword [rsp + 0x20], ecx
lea rcx, [rbp + 0x1f0]
mov r8, qword [rax + 8]
movabs rax, 0xe24ce844d9e984fd
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x50], rax
movabs rax, 0x3874699c4a840b35
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x58], rax
movabs rax, 0xbe9bfdbf7e6ce4cd
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x60], rax
mov qword [rsp + 0x48], rdx
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x68], rax
movabs rax, 0xc76c9b61f9c9a4dd
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x450], rax
movabs rax, 0x605111ac6ab92b46
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x458], rax
movabs rax, 0xbe9bfdbf7e6ce4c7
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x48], rdx
lea rdx, [rbp + 0x50]
mov qword [rbp + 0x460], rax
mov rax, qword [rsp + 0x48]
movdqa xmm0, xmmword [rbp + 0x50]
movdqa xmm1, xmmword [rbp + 0x60]
xorps xmm0, xmmword [rbp + 0x450]
mov qword [rbp + 0x468], rax
xorps xmm1, xmmword [rbp + 0x460]
movdqa xmmword [rbp + 0x60], xmm1
movdqa xmmword [rbp + 0x50], xmm0
call fcn.180067650
lea rax, [rbp + 0x1f0]
lea r8, [rbp + 0x1f0]
cmp byte [rbp + 0x1f0], r12b
je 0x18006732b
inc rax
cmp byte [rax], r12b
jne 0x180067320
mov r8d, eax
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x20], r12
sub r8d, eax
lea rdx, [rbp + 0x1f0]
xor r9d, r9d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x50]
inc r14d
add rdi, 0x20
movabs rbx, 0x100000001b3
movsx eax, word [rcx + 0x1c]
cmp r14d, eax
jl 0x1800670d0
mov r15, qword [rsp + 0x78]
xor esi, esi
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
inc r12
mov qword [rsp + 0x40], r12
cmp r12, qword [rbp - 0x80]
jl 0x180066fa0
mov rsi, qword [rsp + 0x810]
test r15, r15
je 0x1800673b9
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1800673c8
xor al, al
mov rcx, qword [rbp + 0x6d0]
xor rcx, rsp
call fcn.1800d6ea0
lea r11, [rsp + 0x7e0]
mov rbx, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret