Function at 0x6789f860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6793bbc0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x67ad7034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [0x67ac5a30]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x92949cd9
mov dword [ebp - 0x30], 0x100f489
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x44], al
inc ecx
cmp ecx, 0x16
jb 0x6789f8a6
lea eax, [ebp - 0x44]
mov byte [ebp - 0x2d], 0
push eax
push 1
push dword [0x67b6d578]
call fcn.67893350
add esp, 8
lea eax, [ebp - 0x8c]
push eax
call fcn.678988f0
push 0xa
push 0x67abeb54
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.677d8270
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x78]
cmp edx, 0x10
jb 0x6789f960
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6789f956
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x6789f956
call dword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.67934867
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x67abc91c
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call dword [sym.imp.ucrtbase.dll_fopen]
add esp, 8
test eax, eax
je 0x6789f9a2
push eax
call dword [sym.imp.ucrtbase.dll_fclose]
add esp, 4
jmp 0x6789fa75
movaps xmm0, xmmword [0x67ac5b30]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0xc8efee91
mov word [ebp - 0x30], 0x100
nop dword [eax]
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0x44], al
inc ecx
cmp ecx, 0x14
jb 0x6789f9c0
lea eax, [ebp - 0x44]
mov byte [ebp - 0x2f], 0
push eax
push 1
push dword [0x67b6d578]
call fcn.67893350
movaps xmm0, xmmword [0x67ac5c40]
lea eax, [ebp - 0x28]
sub esp, 0xc
mov dword [ebp - 0x34], 0x97ccd9d9
movups xmmword [ebp - 0x54], xmm0
mov ecx, esp
mov dword [ebp - 0x70], esp
movaps xmm0, xmmword [0x67ac5e60]
push eax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0xdacfce
mov byte [ebp - 0x2c], 1
call fcn.677d84b0
sub esp, 0x18
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
push esp
call fcn.6788cbf0
mov byte [ebp - 4], 4
call fcn.67898760
movaps xmm0, xmmword [0x67ac5650]
xor ecx, ecx
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x8f9e999a
mov dword [ebp - 0x58], 0x100f48e
nop
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x6c], al
inc ecx
cmp ecx, 0x16
jb 0x6789fa50
lea eax, [ebp - 0x6c]
mov byte [ebp - 0x55], 0
push eax
push 2
push dword [0x67b6d578]
call fcn.67893350
add esp, 0xc
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x6789faab
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6789faa1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x6789faa1
call dword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.67934867
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.679343f5
mov esp, ebp
pop ebp
ret