Function at 0x436e39
Capabilities:
Create thread
Encode data using xor
Set file attributes
Terminate process

Disassembly:
push 0x160
mov eax, 0x5808a3
call fcn.0055dd89
cmp dword [0x69682c], 1
jne 0x436f4f
push 1
push 0x40
push 8
push str.GameGuard_Log.txt
lea ecx, [ebp - 0x16c]
call fcn.0042443d
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 0x59249c
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x436ec3
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00562163
mov edx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
pop ecx
test esi, esi
je 0x436eba
sub edi, edx
lea ecx, [eax + edx]
and eax, 7
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 0xf]
jb 0x436e9f
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
lea eax, [ebp - 0x16c]
push edi
push eax
call fcn.0042141f
mov dword [ebp - 0x10], 0x5924c0
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
pop ecx
add edi, 0x14
cmp byte [ebx + 0x13], 0
pop ecx
je 0x436f26
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00562163
mov edx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
pop ecx
test esi, esi
je 0x436f1d
sub edi, edx
lea ecx, [eax + edx]
and eax, 7
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 0xf]
jb 0x436f02
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
lea eax, [ebp - 0x16c]
push edi
push eax
call fcn.0042141f
pop ecx
pop ecx
lea ecx, [ebp - 0x16c]
call fcn.00424a62
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16c]
call fcn.00424592
cmp dword [0x69683c], 1
jne 0x43705e
lea eax, [ebp - 0x1c]
push eax
call fcn.0056300a
lea eax, [ebp - 0x1c]
push eax
call fcn.00562d6b
pop ecx
pop ecx
push 1
push 0x40
push 8
push 0x58dacc
lea ecx, [ebp - 0xc4]
mov esi, eax
call fcn.0042443d
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], 1
push str._nLocal_Time:
push eax
call fcn.0042141f
push esi
call fcn.00562b5e
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0042141f
lea eax, [ebp - 0xc4]
push str.ST_Scan:
push eax
call fcn.0042141f
mov dword [ebp - 0x10], 0x5924c0
add esp, 0x1c
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
add edi, 0x14
mov dword [ebp - 0x14], eax
cmp byte [eax + 0x13], 0
je 0x43701a
mov esi, dword [eax + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00562163
xor edx, edx
mov ebx, eax
test esi, esi
mov esi, dword [ebp - 0x14]
pop ecx
je 0x437011
sub edi, ebx
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
mov al, byte [eax + esi + 7]
xor al, byte [edi + ecx]
inc edx
mov byte [ecx], al
cmp edx, dword [esi + 0xf]
jb 0x436ffa
mov eax, dword [esi + 0xf]
mov edi, ebx
mov byte [ebx + eax], 0
lea eax, [ebp - 0xc4]
push edi
push eax
call fcn.0042141f
lea eax, [ebp - 0xc4]
push str._n__________________
push eax
call fcn.0042141f
add esp, 0x10
lea ecx, [ebp - 0xc4]
call fcn.00424a62
push 2
push 0x58dacc
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xc4]
call fcn.00424592
mov eax, dword [0x696830]
cmp eax, 1
jne 0x43708c
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x436d79
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x43709d
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x436d01
jmp 0x437072
cmp eax, 3
jne 0x4370ae
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x42ddfe
jmp 0x437072
cmp eax, 4
jne 0x43712a
xor eax, eax
push eax
push eax
push eax
push 0x426bb1
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14], 0x592514
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x14]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x437117
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00562163
pop ecx
mov ecx, eax
xor edx, edx
mov dword [ebp - 0x14], ecx
test esi, esi
je 0x43710e
sub edi, ecx
mov eax, edx
add ecx, edx
and eax, 7
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
inc edx
mov byte [ecx], al
mov ecx, dword [ebp - 0x14]
cmp edx, dword [ebx + 0xf]
jb 0x4370f5
mov eax, dword [ebx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x200010
push str.ST_Scan
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
jmp 0x437086