Function at 0x10067420
Capabilities:
Encode data using xor
Hash data with crc32
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa4c0
mov eax, dword fs:[0]
push eax
sub esp, 0xa4c
mov eax, dword [0x100dc008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20f]
push 0x1ff
push 0
push eax
call fcn.1008b230
mov eax, dword [edi + 0x350]
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x1fc], eax
mov eax, dword [edi + 0x348]
mov dword [ebp - 0x200], eax
mov eax, dword [edi + 0x24]
shrd ecx, eax, 9
push 0x280
shr eax, 9
lea eax, [ebp - 0x724]
mov dword [ebp - 0x210], 0x5120372
push 0
push eax
mov dword [ebp - 0x20c], 2
mov dword [ebp - 0x1f4], ecx
call fcn.1008b230
add esp, 0x18
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x724]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
call fcn.10069700
mov dword [ebp - 4], 0
mov dword [edi + 0x60], 0
mov dword [ebp - 0xa08], 0
mov dword [ebp - 0xa0c], 0
mov dword [ebp - 0xa04], 0
lea ecx, [ebp - 0xa04]
mov byte [ebp - 4], 1
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0xa0c]
push ecx
lea ecx, [ebp - 0xa08]
push ecx
push esi
call dword [eax + 0x2c]
test eax, eax
jne 0x1006767a
cmp dword [ebp - 0xa08], eax
je 0x1006767a
cmp dword [ebp - 0xa04], eax
je 0x1006767a
push ecx
lea ecx, [ebp - 0xa04]
call fcn.10069000
test al, al
jne 0x1006767a
or dword [ebp - 0x208], 1
cmp dword [edi + 0x360], 0
mov dword [edi + 0x60], 1
jne 0x100675e8
push 0x100dd790
push dword [edi + 0x348]
call fcn.1007bfcf
add esp, 8
mov dword [edi + 0x360], eax
test eax, eax
jne 0x100675d7
mov byte [ebp - 4], 0
push dword [ebp - 0xa04]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x724]
mov dword [ebp - 4], 0xffffffff
call fcn.100695f0
mov eax, 0x8007000e
jmp 0x10067a41
push dword [edi + 0x348]
push 0
push eax
call fcn.1008b230
add esp, 0xc
push 0x40
lea eax, [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x724]
call fcn.10069620
test eax, eax
jne 0x1006762c
mov byte [ebp - 4], 0
push dword [ebp - 0xa04]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x724]
mov dword [ebp - 4], 0xffffffff
call fcn.100695f0
mov eax, 0x80004005
jmp 0x10067a41
lea ecx, [ebp - 0x724]
call fcn.10069920
push 0x40
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x724]
call fcn.10069620
test eax, eax
je 0x10067600
lea ecx, [ebp - 0x724]
call fcn.10069920
mov edx, 0x40
mov dword [ebp - 0x1b0], 0x10211a41
lea ecx, [ebp - 0x1a0]
call fcn.10069570
mov dword [ebp - 0x1ac], eax
push 0x40
lea eax, [ebp - 0xa58]
push 0
push eax
call fcn.1008b230
add esp, 0xc
cmp dword [edi + 0x60], 0
je 0x100677b2
movups xmm0, xmmword [ebp - 0x1a0]
push 0x150
lea eax, [ebp - 0x160]
movups xmmword [ebp - 0xa58], xmm0
push eax
movups xmm0, xmmword [ebp - 0x190]
lea ecx, [ebp - 0x724]
movups xmmword [ebp - 0xa48], xmm0
movups xmm0, xmmword [ebp - 0x180]
movups xmmword [ebp - 0xa38], xmm0
movups xmm0, xmmword [ebp - 0x170]
movups xmmword [ebp - 0xa28], xmm0
call fcn.10069620
test eax, eax
jne 0x1006773e
mov byte [ebp - 4], al
push dword [ebp - 0xa04]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], 2
push 0x280
lea eax, [ebp - 0x724]
push 0
push eax
call fcn.1008b230
add esp, 0xc
cmp dword [ebp - 0x214], 0
je 0x1006772d
push 0
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [ebp - 4], 0xffffffff
mov eax, 0x80004005
jmp 0x10067a41
mov esi, dword [ebp - 0xa04]
lea eax, [ebp - 0x1f0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
lea ecx, [ebp - 0xa00]
call fcn.10069090
test eax, eax
jne 0x1006777b
mov byte [ebp - 4], al
push dword [ebp - 0xa04]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], 4
jmp 0x10067700
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x10
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0xa00]
call fcn.100691e0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x1a0
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0xa00]
call fcn.100691e0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x210]
or ecx, 0xffffffff
mov esi, 0x200
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100caa98]
sub esi, 1
jne 0x100677c0
push esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
xorps xmm0, xmm0
movlpd qword [ebp - 0xa18], xmm0
not ecx
push dword [ebp - 0xa14]
mov dword [ebp - 0x204], ecx
push dword [ebp - 0xa18]
push dword [edi + 0x4c]
call esi
test eax, eax
jne 0x10067863
call fcn.10015440
mov byte [ebp - 4], 0
mov esi, eax
push dword [ebp - 0xa04]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], 6
push 0x280
lea eax, [ebp - 0x724]
push 0
push eax
call fcn.1008b230
add esp, 0xc
cmp dword [ebp - 0x214], 0
je 0x10067855
push 0
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
jmp 0x10067a41
push 0
lea eax, [ebp - 0xa10]
push eax
push 0x200
lea eax, [ebp - 0x210]
push eax
push dword [edi + 0x4c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100678a5
call fcn.10015440
mov byte [ebp - 4], 0
mov esi, eax
push dword [ebp - 0xa04]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], 7
jmp 0x10067828
push 0
push 0
push 0
push dword [edi + 0x350]
push dword [edi + 0x4c]
call esi
test eax, eax
jne 0x100678dd
call fcn.10015440
mov byte [ebp - 4], 0
mov esi, eax
push dword [ebp - 0xa04]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], 8
jmp 0x10067828
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
push 0
push dword [edi + 0x34c]
shrd ecx, eax, 9
shr eax, 9
push eax
push ecx
call fcn.100a8a30
lea esi, [eax*4 + 0x1ff]
mov eax, dword [edi + 0x354]
shr esi, 2
and esi, 0x3fffff80
test eax, eax
je 0x1006791c
push eax
call fcn.1007bfd8
add esp, 4
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
push 0x100dd790
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1007bfcf
add esp, 8
mov dword [edi + 0x354], eax
test eax, eax
je 0x100675ab
shl esi, 2
push esi
push 0xff
push eax
call fcn.1008b230
add esp, 0xc
cmp dword [edi + 0x60], 0
je 0x100679a1
lea eax, [ebp - 0xa58]
push eax
lea ecx, [edi + 0x64]
call fcn.10069180
test eax, eax
je 0x10067600
xor eax, eax
lea ecx, [edi + 0x64]
mov edx, esi
not eax
shr edx, 9
push eax
not edx
mov dword [edi + 0x344], eax
push edx
push esi
push dword [edi + 0x354]
mov dword [edi + 0x340], edx
call fcn.100691e0
push 0
lea eax, [ebp - 0xa10]
push eax
push esi
push dword [edi + 0x354]
push dword [edi + 0x4c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10067a03
push dword [edi + 0x354]
call fcn.1007bfd8
add esp, 4
mov dword [edi + 0x354], 0
call fcn.10015440
mov byte [ebp - 4], 0
mov esi, eax
push dword [ebp - 0xa04]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x724]
mov dword [ebp - 4], 0xffffffff
call fcn.100695f0
mov eax, esi
jmp 0x10067a41
cmp dword [edi + 0x60], 0
je 0x10067a1d
push esi
push 0xff
push dword [edi + 0x354]
call fcn.1008b230
add esp, 0xc
mov byte [ebp - 4], 0
push dword [ebp - 0xa04]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x724]
mov dword [ebp - 4], 0xffffffff
call fcn.100695f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007bfb0
mov esp, ebp
pop ebp
ret 4