Function at 0x43f810
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 0x43f926
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], 0x594f10
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x43f89a
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 0x43f891
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 0x43f876
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], 0x594f40
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
pop ecx
add edi, 0x14
cmp byte [ebx + 0x13], 0
pop ecx
je 0x43f8fd
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 0x43f8f4
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 0x43f8d9
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 0x43fa87
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
mov dword [ebp - 0x10], 0x594f6c
add esp, 0x14
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
add edi, 0x14
mov dword [ebp - 0x14], eax
cmp byte [eax + 0x13], 0
je 0x43f9e0
mov esi, dword [eax + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00562163
xor ebx, ebx
mov edx, eax
test esi, esi
mov esi, dword [ebp - 0x14]
pop ecx
je 0x43f9d7
sub edi, edx
mov eax, ebx
lea ecx, [ebx + edx]
and eax, 7
mov al, byte [eax + esi + 7]
xor al, byte [edi + ecx]
inc ebx
mov byte [ecx], al
cmp ebx, dword [esi + 0xf]
jb 0x43f9c0
mov eax, dword [esi + 0xf]
mov edi, edx
mov byte [edx + eax], 0
lea eax, [ebp - 0xc4]
push edi
push eax
call fcn.0042141f
mov dword [ebp - 0x14], 0x594f40
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x14]
pop ecx
add edi, 0x14
cmp byte [ebx + 0x13], 0
pop ecx
je 0x43fa43
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00562163
mov edx, eax
xor eax, eax
mov dword [ebp - 0x14], eax
pop ecx
test esi, esi
je 0x43fa3a
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 - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebx + 0xf]
jb 0x43fa1f
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + 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
je 0x43fac8
cmp eax, 3
je 0x43fac8
cmp eax, 4
je 0x43fac8
cmp eax, 2
jne 0x43fac4
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x43fad4
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]
push 0
jmp 0x43fabe
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x43fb4c
jmp 0x43faaa