Function at 0x100123e0
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10032686
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x1003e6c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x10044578]
lea eax, [ebp - 0x34]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x10012662
cmp dword [0x10044644], 1
jne 0x100124d5
push 8
push str.GameGuard_Log.txt
lea ecx, [ebp - 0x190]
push ecx
call fcn.10001fe0
lea edx, [ebp - 0x190]
push str._nFN_Scan:____File_not_found:
push edx
mov dword [ebp - 4], 0
call fcn.10003a90
lea eax, [ebp - 0x190]
push edi
push eax
call fcn.10003a90
add esp, 0x10
lea ecx, [ebp - 0x18c]
call fcn.10002fb0
test eax, eax
jne 0x100124aa
mov ecx, dword [ebp - 0x190]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0x184]
lea ecx, [ebp + ecx - 0x190]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x100124a2
or eax, 4
push 0
push eax
call fcn.10001570
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0xffffffff
call fcn.10002140
lea edx, [ebp - 0x130]
push edx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10018604
add esp, 4
cmp dword [0x10044654], 1
jne 0x100125e1
lea eax, [ebp - 0x40]
push eax
call fcn.1001a8a0
lea ecx, [ebp - 0x40]
add esp, 4
push ecx
call fcn.1001a747
add esp, 4
push 8
push 0x10036584
lea edx, [ebp - 0xe8]
push edx
mov esi, eax
call fcn.10001fe0
lea eax, [ebp - 0xe8]
push str._nLocal_Time:
push eax
mov dword [ebp - 4], 1
call fcn.10003a90
push esi
call fcn.1001a090
add esp, 0xc
push eax
lea ecx, [ebp - 0xe8]
push ecx
call fcn.10003a90
lea edx, [ebp - 0xe8]
push str.FN_Scan:____File_not_found:
push edx
call fcn.10003a90
lea eax, [ebp - 0xe8]
push edi
push eax
call fcn.10003a90
lea ecx, [ebp - 0xe8]
push str._n__________________
push ecx
call fcn.10003a90
add esp, 0x20
lea ecx, [ebp - 0xe4]
call fcn.10002fb0
test eax, eax
jne 0x100125a9
mov edx, dword [ebp - 0xe8]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + ecx - 0xdc]
lea ecx, [ebp + ecx - 0xe8]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x100125a1
or eax, 4
push 0
push eax
call fcn.10001570
push 2
push 0x10036584
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0xffffffff
call fcn.10002140
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x88], vtable.std::ios_base.0
call fcn.10018604
add esp, 4
mov eax, dword [0x10044648]
push 0
cmp eax, 1
jne 0x10012613
push 0
push 0
push 0x100123a0
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 0x10012623
push 0
push 0
push 0x100123c0
jmp 0x100125f6
cmp eax, 3
jne 0x10012633
push 0
push 0
push 0x10012f30
jmp 0x100125f6
cmp eax, 4
jne 0x10012660
push 0
push 0
push 0x10017bf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.FN_Scan
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1001260b
jmp 0x1001260d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10019013
mov esp, ebp
pop ebp
ret