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

Disassembly:
push 0x160
mov eax, 0x5808a3
call fcn.0055dd89
xor ebx, ebx
cmp dword [0x69682c], 1
jne 0x440e37
push 1
push 0x40
push 8
push str.GameGuard_Log.txt
lea ecx, [ebp - 0x16c]
call fcn.0042443d
lea eax, [ebp - 0x16c]
mov dword [ebp - 4], ebx
push str._nAL_Scan:
push eax
call fcn.0042141f
mov dword [ebp - 0x10], 0x595280
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
pop ecx
add edi, 0x14
cmp byte [ebx + 0x13], 0
pop ecx
je 0x440dfe
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 0x440df2
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 0x440dd7
mov eax, dword [ebx + 0xf]
mov edi, edx
xor ebx, ebx
mov byte [edx + eax], bl
jmp 0x440e00
xor ebx, ebx
push edi
push dword [0x6967a8]
lea eax, [ebp - 0x16c]
push eax
call fcn.0042141f
pop ecx
pop ecx
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 0x440f53
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.AL_Scan:
push eax
call fcn.0042141f
mov dword [ebp - 0x10], 0x595280
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 0x440f01
mov esi, dword [eax + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00562163
test esi, esi
mov edx, eax
mov esi, dword [ebp - 0x14]
pop ecx
je 0x440ef7
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 0x440ee0
mov eax, dword [esi + 0xf]
xor ebx, ebx
mov edi, edx
mov byte [edx + eax], bl
push edi
push dword [0x6967a8]
lea eax, [ebp - 0xc4]
push eax
call fcn.0042141f
pop ecx
pop ecx
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]
push ebx
cmp eax, 1
jne 0x440f7f
push ebx
push ebx
push 0x4410b8
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 0x440f8d
push ebx
push ebx
push 0x441040
jmp 0x440f65
cmp eax, 3
jne 0x440f9b
push ebx
push ebx
push 0x42ddfe
jmp 0x440f65
cmp eax, 4
jne 0x440fc8
push ebx
push ebx
push 0x426bb1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.AL_Scan
push dword [0x6967a8]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x440f78
jmp 0x440f79