Function at 0x10026380
Capabilities:
Create thread
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029340
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push esi
push edi
mov eax, dword [0x10040cf8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1004118c], 1
mov edi, dword [sym.imp.ucrtbased.dll_malloc]
jne 0x100264de
push 1
push 0x40
push 8
push str.GameGuard_Log.txt
lea ecx, [ebp - 0xc0]
call fcn.100049c0
mov dword [ebp - 0x10], 0x10039908
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
mov dword [ebp - 4], 0
cmp byte [ebx + 0x13], 0
je 0x10026435
mov eax, dword [ebx + 0xf]
inc eax
push eax
call edi
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xf]
xor edx, edx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10026429
sub esi, edi
nop dword [eax + eax]
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
cmp edx, eax
jb 0x10026410
mov byte [eax + edi], 0
mov esi, edi
mov edi, dword [sym.imp.ucrtbased.dll_malloc]
lea eax, [ebp - 0xc0]
push esi
push eax
call fcn.10004550
mov dword [ebp - 0x10], 0x1003992c
add esp, 8
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x10026494
mov eax, dword [ebx + 0xf]
inc eax
push eax
call edi
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xf]
xor edx, edx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1002648e
sub esi, edi
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
cmp edx, eax
jb 0x10026475
mov byte [eax + edi], 0
mov esi, edi
lea eax, [ebp - 0xc0]
push esi
push eax
call fcn.10004550
add esp, 8
lea ecx, [ebp - 0xbc]
call fcn.100054a0
test eax, eax
jne 0x100264cd
push eax
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xc0]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0xc0]
call fcn.10004fb0
mov edi, dword [sym.imp.ucrtbased.dll_malloc]
mov eax, dword [0x10041190]
push 0
cmp eax, 1
jne 0x10026510
push 0
push 0
push 0x10026630
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x10026520
push 0
push 0
push 0x100265b0
jmp 0x100264f3
cmp eax, 3
jne 0x10026530
push 0
push 0
push 0x100266b0
jmp 0x100264f3
cmp eax, 4
jne 0x1002650a
push 0
push 0
push 0x10026220
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10], 0x10039968
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x10026597
mov eax, dword [ebx + 0xf]
inc eax
push eax
call edi
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xf]
xor edx, edx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10026591
sub esi, edi
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
cmp edx, eax
jb 0x10026578
mov byte [eax + edi], 0
mov esi, edi
push 0x200010
push str.VM_Scan
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x10026508