Function at 0x10077f90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008dfc0
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x100a4040]
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 dword [ebp - 0x218], ecx
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x220], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x22c], ecx
test ebx, ebx
je 0x10078307
push 0x200
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea ecx, [ebp - 0x210]
mov byte [ebp - 0x11], 0
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10078010
sub ecx, edx
nop dword [eax]
test ecx, ecx
jle 0x1007804f
mov al, byte [ebp + ecx - 0x211]
lea edx, [ebp + ecx - 0x211]
cmp al, 0x5c
je 0x1007804f
cmp al, 0x2f
je 0x1007804f
lea eax, [ecx - 1]
mov ecx, eax
cmp eax, 0x200
jae 0x10078325
mov byte [edx], 0
jmp 0x10078020
lea ecx, [ebp - 0x210]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10078058
sub ecx, edx
mov edx, edi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10078066
sub edx, esi
mov esi, 0x1ff
sub esi, ecx
lea eax, [edx + ecx]
cmp eax, 0x200
cmovb esi, edx
test esi, esi
jle 0x10078097
push esi
lea eax, [ebp - 0x210]
push edi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
add esp, 0xc
mov ecx, dword [0x100bea18]
push 0x2c
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, eax
mov dword [ebp - 0x228], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x1007813f
push 0x2c
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push edi
call fcn.10076830
and dword [edi], 0xff000000
lea edx, [ebp - 0x210]
xor eax, eax
mov byte [edi + 3], 0
mov dword [edi + 0x10], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x24], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov ecx, dword [0x100bea18]
push 1
mov dword [ebp - 0x214], 0xffffffff
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x214]
push edx
call dword [eax + 0x28]
mov edx, dword [edi]
mov ecx, dword [ebp - 0x214]
and edx, 0xff000000
and ecx, 0xffffff
or edx, ecx
mov dword [edi], edx
mov byte [edi + 3], al
sar eax, 8
mov word [edi + 0x12], ax
jmp 0x10078141
xor edi, edi
push dword [ebp - 0x220]
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 0x218]
push 0x10098ea0
push edx
mov dword [ebp - 0x228], edi
cmp byte [eax + 0x11], 0
setne al
mov byte [edi + 0x11], al
mov ecx, dword [0x100bea2c]
add ecx, 4
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 0x214], eax
test eax, eax
je 0x10078282
mov ecx, dword [ebx]
push eax
mov edx, dword [ecx + 0x1c]
mov ecx, ebx
call edx
mov ecx, dword [ebx - 4]
add ebx, 0xfffffffc
push 0
mov dword [ebp - 0x220], eax
lea esi, [eax + 1]
mov edx, dword [ecx + 0x15c]
lea eax, [ebp - 0x218]
push 0
push eax
push dword [ebp - 0x214]
mov ecx, ebx
call edx
test al, al
je 0x100781d2
mov eax, dword [ebp - 0x218]
dec esi
add esi, eax
dec eax
not eax
and esi, eax
mov eax, dword [ebx]
mov ecx, ebx
push 0
push esi
push dword [ebp - 0x214]
call dword [eax + 0x160]
push dword [ebp - 0x214]
mov edx, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x220]
mov dword [ebp - 0x218], eax
push esi
push eax
call dword [edx + 0x128]
push dword [ebp - 0x214]
mov esi, eax
mov eax, dword [ebp - 0x224]
test esi, esi
mov ecx, eax
setne byte [ebp - 0x219]
mov edx, dword [eax]
call dword [edx + 0xc]
test esi, esi
mov esi, dword [ebp - 0x218]
je 0x10078252
mov eax, dword [ebp - 0x220]
mov ecx, edi
push 0
push dword [ebp - 0x224]
mov byte [esi + eax], 0
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.10078aa0
mov byte [ebp - 0x219], al
mov edx, dword [ebx]
mov ecx, ebx
push esi
call dword [edx + 0x164]
cmp byte [ebp - 0x219], 0
je 0x10078282
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x22c]
mov ecx, eax
push dword [eax + 0xc]
call fcn.1000de90
jmp 0x10078307
movaps xmm0, xmmword [0x1009ae70]
xor ecx, ecx
movups xmmword [ebp - 0x274], xmm0
mov dword [ebp - 0x234], 0xb4e4742
movaps xmm0, xmmword [0x1009af80]
movups xmmword [ebp - 0x264], xmm0
mov dword [ebp - 0x230], 0x21580e
movaps xmm0, xmmword [0x1009ad40]
movups xmmword [ebp - 0x254], xmm0
movaps xmm0, xmmword [0x1009adc0]
movups xmmword [ebp - 0x244], xmm0
mov al, byte [ebp - 0x274]
xor byte [ebp + ecx - 0x273], al
inc ecx
cmp ecx, 0x46
jb 0x100782d0
lea eax, [ebp - 0x210]
mov byte [ebp - 0x22d], 0
push eax
lea eax, [ebp - 0x273]
push eax
call fcn.10002690
add esp, 4
mov ecx, edi
call fcn.10076670
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.1008a073
mov esp, ebp
pop ebp
ret 0x14
call fcn.1008a722
int3