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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x6e0]
sub rsp, 0x7e0
mov rax, qword [0x180175010]
xor rax, rsp
mov qword [rbp + 0x6d0], rax
mov rbx, rcx
mov rdi, rdx
lea rcx, [rbp + 0x4c0]
call fcn.18004f4a0
test al, al
je 0x18006919b
cmp word [rbp + 0x4c0], 0
lea rax, [rbp + 0x4c0]
je 0x18006880a
nop
add rax, 2
cmp word [rax], 0
jne 0x180068800
movzx ecx, word [rbx]
test cx, cx
je 0x180068830
sub rbx, rax
nop word [rax + rax]
mov word [rax], cx
add rax, 2
movzx ecx, word [rax + rbx]
test cx, cx
jne 0x180068820
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 0x18006919b
xor ecx, ecx
call fcn.1800e3918
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x68], rax
lea rcx, [rbp + 0xa0]
call fcn.1800e3910
movabs rax, 0x6a1c28d02529a45e
lea r9, [rbp + 0xa0]
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, 0xcbf41ad35dddb9b
mov qword [rsp + 0x40], rax
movabs rcx, 0x7fb1dc8c816ad206
mov rax, qword [rsp + 0x40]
movabs r13, 0x4f3145f5084d8105
mov qword [rbp + 0x38], rax
movabs r12, 0x6fda61f061f8fbc2
movabs rax, 0x594a70824d0447ab
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x40], rax
movabs rax, 0x20eca527d5ae0b7f
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x48], rax
movabs rax, 0x165d7d0b9557b8bc
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x50], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x58], rax
mov qword [rsp + 0x40], r13
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x440], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x448], rax
movabs rax, 0x793650e73e742ec7
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x450], rax
movabs rax, 0x44ccc44ab0c6680c
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x458], rax
movabs rax, 0x165d7d019f27d5c9
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x60]
mov qword [rbp + 0x460], rax
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rbp + 0x30]
pxor xmm0, xmmword [rbp + 0x440]
movdqa xmm1, xmmword [rbp + 0x40]
pxor xmm1, xmmword [rbp + 0x450]
movdqa xmmword [rbp + 0x30], xmm0
movdqa xmm0, xmmword [rbp + 0x50]
mov qword [rbp + 0x468], rax
pxor xmm0, xmmword [rbp + 0x460]
movdqa xmmword [rbp + 0x50], xmm0
movdqa xmmword [rbp + 0x40], xmm1
call fcn.180058910
lea rdx, [rbp + 0x60]
lea rax, [rbp + 0x60]
mov ecx, edx
cmp byte [rbp + 0x60], r15b
je 0x180068a2b
nop word [rax + rax]
inc rax
mov rcx, rax
cmp byte [rax], r15b
jne 0x180068a20
sub ecx, edx
mov qword [rsp + 0x20], r15
mov r8d, ecx
lea rdx, [rbp + 0x60]
mov rcx, r14
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x180177ad8]
xor r8d, r8d
mov rdx, rdi
mov rax, qword [rcx]
mov r9, qword [rax + 0x68]
call r9
mov qword [rsp + 0x58], rax
mov rdi, rax
test rax, rax
je 0x18006919b
movsxd rbx, dword [rax + 0x50c]
mov dl, 1
mov qword [rsp + 0x810], rsi
call fcn.180071aa0
mov rsi, rax
lea r8, [rbp - 0x40]
movabs rax, 0x4f1365916638ee63
mov edx, r8d
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
mov qword [rbp - 0x40], rcx
mov qword [rsp + 0x40], r12
mov rcx, qword [rsp + 0x40]
mov qword [rbp - 0x38], rcx
mov qword [rsp + 0x40], r13
mov rcx, qword [rsp + 0x40]
mov qword [rbp - 0x70], rcx
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
movdqa xmm0, xmmword [rbp - 0x40]
mov qword [rbp - 0x68], rax
pxor xmm0, xmmword [rbp - 0x70]
movq rax, xmm0
movdqa xmmword [rbp - 0x40], xmm0
test al, al
je 0x180068afb
nop dword [rax + rax]
inc rcx
mov rdx, rcx
cmp byte [rcx], r15b
jne 0x180068af0
mov rcx, qword [0x180175e68]
sub edx, r8d
mov r8d, edx
mov qword [rsp + 0x20], r15
lea rdx, [rbp - 0x40]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
movzx eax, word [rsi + 8]
test al, 4
je 0x180068b31
lea rdi, [0x18015e088]
mov r9d, 0x10
jmp 0x180068b63
test al, 0x10
je 0x180068b4e
mov r9d, 8
lea rdx, [rbp + 0x472]
mov ecx, ebx
call fcn.180069870
mov rdx, rax
jmp 0x180068b8f
test al, 0x20
je 0x180068fb0
lea rdi, [0x18015e08c]
mov r9d, 2
lea rdx, [rbp + 0x472]
mov ecx, ebx
call fcn.180069870
test byte [rsi + 8], 2
mov rdx, rax
je 0x180068b8a
movzx eax, byte [rdi + 1]
mov byte [rdx - 1], al
add rdx, 0xfffffffffffffffe
movzx eax, byte [rdi]
mov byte [rdx], al
mov rdi, qword [rsp + 0x58]
test ebx, ebx
js 0x180068ba4
mov eax, 0x400
test word [rsi + 8], ax
je 0x180068ba4
dec rdx
mov byte [rdx], 0x2b
mov rcx, qword [0x180175e68]
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, 0x2e5c209d6b3ea127
lea r8, [rbp - 0x30]
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x30]
mov rax, qword [rsp + 0x40]
mov edx, r8d
mov qword [rbp - 0x30], rax
movabs rax, 0x1cbf1283009498e2
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x28], rax
movabs rax, 0xc523f8a1e1a47e7
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x20], rax
movabs rax, 0x44ccc44ab0c60d60
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x18], rax
mov qword [rsp + 0x40], r13
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x400], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x408], rax
movabs rax, 0x793650e73e742ec7
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x410], rax
movabs rax, 0x44ccc44ab0c6680c
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movdqa xmm1, xmmword [rbp - 0x30]
pxor xmm1, xmmword [rbp + 0x400]
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp + 0x418], rax
movq rax, xmm1
pxor xmm0, xmmword [rbp + 0x410]
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmmword [rbp - 0x20], xmm0
test al, al
je 0x180068cc0
inc rcx
mov rdx, rcx
cmp byte [rcx], sil
jne 0x180068cb5
mov rcx, qword [0x180175e68]
sub edx, r8d
mov r8d, edx
mov qword [rsp + 0x20], rsi
lea rdx, [rbp - 0x30]
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 + 0x5a0]
mov rbx, rsi
mov r9d, esi
mov r8d, esi
mov rdx, rsi
nop word [rax + rax]
mov rcx, qword [r11]
test rcx, rcx
je 0x180068d56
sub r9d, 1
jns 0x180068d4d
mov qword [rax + rdx*8], rcx
inc r8d
inc rdx
cmp rdx, r10
jge 0x180068d66
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x180068d38
inc rbx
add r11, 0x28
cmp rbx, 0x100
jl 0x180068d30
movsxd rax, r8d
mov qword [rbp - 0x80], rax
test r8d, r8d
jle 0x18006916d
mov r12, rsi
mov qword [rsp + 0x40], rsi
movabs rbx, 0x100000001b3
nop dword [rax + rax]
mov rax, qword [r15 + r12*8]
test rax, rax
je 0x18006915b
mov r13, qword [rax + 0x10]
test r13, r13
je 0x18006915b
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 0x18006915b
cmp word [r8 + 0x1c], 0
je 0x18006915b
mov r8, qword [r8 + 8]
lea rdx, [rbp - 0x10]
movabs rax, 0x3c1465867b2ced66
lea rcx, [rbp + 0x1e0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x10], rax
movabs rax, 0x6fda61f061f8fbc8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 8], rax
movabs rax, 0x4f3145f5084d8105
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x60], rax
movabs rax, 0x6fda61f061f8fbc2
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movdqa xmm0, xmmword [rbp - 0x10]
mov qword [rbp - 0x58], rax
pxor xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x10], xmm0
call fcn.180069420
cmp byte [rbp + 0x1e0], 0
lea rdx, [rbp + 0x1e0]
mov ecx, edx
lea rax, [rbp + 0x1e0]
je 0x180068e7d
inc rax
mov rcx, rax
cmp byte [rax], 0
jne 0x180068e72
sub ecx, edx
mov qword [rsp + 0x20], rsi
mov r8d, ecx
lea rdx, [rbp + 0x1e0]
mov rcx, r14
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x50]
xor eax, eax
cmp ax, word [rcx + 0x1c]
jge 0x180069159
mov r15, qword [rsp + 0x60]
mov r14d, eax
movabs r12, 0x6fda61f061f8fbc2
nop dword [rax]
mov rdi, qword [rcx + 0x28]
lea rdx, [rbp]
mov r8, qword [r13 + 8]
lea rcx, [rbp + 0x2f0]
movabs rax, 0x4f3136d03660f220
add rdi, r14
mov r9, qword [rdi]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp], rax
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x48]
mov qword [rbp + 8], rax
movabs rax, 0x4f3145f5084d8105
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x48]
movdqa xmm0, xmmword [rbp]
mov qword [rbp - 0x48], rax
pxor xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp], xmm0
call fcn.180069420
cmp byte [rbp + 0x2f0], 0
lea rax, [rbp + 0x2f0]
movabs rdx, 0xcbf29ce484222325
je 0x180068f5b
inc rax
cmp byte [rax], 0
jne 0x180068f53
lea rcx, [rbp + 0x2f0]
mov r8d, 0
sub rax, rcx
je 0x180068f88
nop dword [rax]
movsx rcx, byte [rbp + r8 + 0x2f0]
inc r8
xor rdx, rcx
imul rdx, rbx
cmp r8, rax
jb 0x180068f70
mov rcx, qword [0x1801776a0]
cmp rcx, qword [0x1801776a8]
mov qword [rsp + 0x70], rdx
je 0x180068fcc
mov qword [rcx], rdx
mov eax, dword [rdi + 0x10]
mov dword [rcx + 8], eax
add qword [0x1801776a0], 0x10
jmp 0x180068fdd
mov r9d, 0xa
lea rdx, [rbp + 0x472]
mov ecx, ebx
call fcn.180069870
mov rdx, rax
jmp 0x180068b8f
lea r9, [rdi + 0x10]
mov rdx, rcx
lea r8, [rsp + 0x70]
call fcn.180069460
mov rax, qword [rdi + 8]
movabs rdx, 0x44ccc44ab0c6680c
mov ecx, dword [rdi + 0x10]
mov r9, qword [rdi]
mov dword [rsp + 0x20], ecx
lea rcx, [rbp + 0xd0]
mov r8, qword [rax + 8]
movabs rax, 0x6a1136d0286da125
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x10], rax
movabs rax, 0x37ff19c041c5dbb1
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x18], rax
movabs rax, 0x793650e73e742ecd
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x20], rax
mov qword [rsp + 0x48], rdx
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x28], rax
movabs rax, 0x4f3145f5084d8105
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x420], rax
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x428], rax
movabs rax, 0x793650e73e742ec7
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x48], rdx
lea rdx, [rbp + 0x10]
mov qword [rbp + 0x430], rax
mov rax, qword [rsp + 0x48]
movdqa xmm0, xmmword [rbp + 0x10]
movdqa xmm1, xmmword [rbp + 0x20]
pxor xmm0, xmmword [rbp + 0x420]
mov qword [rbp + 0x438], rax
pxor xmm1, xmmword [rbp + 0x430]
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmmword [rbp + 0x10], xmm0
call fcn.180069420
cmp byte [rbp + 0xd0], 0
lea rax, [rbp + 0xd0]
lea rcx, [rbp + 0xd0]
je 0x1800690fc
inc rax
cmp byte [rax], 0
jne 0x1800690f2
mov ecx, eax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], 0
sub ecx, eax
lea rdx, [rbp + 0xd0]
mov r8d, ecx
xor r9d, r9d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x50]
inc esi
add r14, 0x20
movabs rbx, 0x100000001b3
movsx eax, word [rcx + 0x1c]
cmp esi, eax
jl 0x180068ec0
mov r15, qword [rsp + 0x78]
mov r12, qword [rsp + 0x40]
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
xor esi, esi
inc r12
mov qword [rsp + 0x40], r12
cmp r12, qword [rbp - 0x80]
jl 0x180068d90
mov rsi, qword [rsp + 0x810]
test r15, r15
je 0x18006918e
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 0x18006919d
xor al, al
mov rcx, qword [rbp + 0x6d0]
xor rcx, rsp
call fcn.1800d6d50
lea r11, [rsp + 0x7e0]
mov rbx, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret