Function at 0x4022fc
Capabilities:
Create process on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov esi, eax
lea ebx, [ebp - 0x58]
mov eax, 0x4c4d88
call fcn.004afeb0
cmp dword [0x4c4214], 1
jne 0x4023f0
push 0x4d4124
call sub.KERNEL32.DLL_GetSystemTime
mov di, word [0x4d4124]
movzx eax, di
mov dword [0x4c4218], eax
lea eax, [ebp - 8]
mov word [ebx + 0x10], 0xc
mov edx, edi
call fcn.004bd158
inc dword [ebx + 0x1c]
lea edx, [ebp - 8]
mov eax, 0x4c423c
call fcn.004bd258
dec dword [ebx + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004bd228
mov word [ebx + 0x10], 0x18
lea eax, [ebp - 0xc]
mov dx, word [0x4d4126]
call fcn.004bd158
inc dword [ebx + 0x1c]
lea edx, [ebp - 0xc]
mov eax, 0x4c4240
call fcn.004bd258
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004bd228
mov word [ebx + 0x10], 0x24
lea eax, [ebp - 0x10]
mov dx, word [0x4d412a]
call fcn.004bd158
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x10]
mov eax, 0x4c4244
call fcn.004bd258
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004bd228
mov word [0x4d4124], 0x7db
push 0x4d4124
mov word [0x4d4126], 7
call sub.KERNEL32.DLL_SetSystemTime
push 0x20
mov eax, 0x4d4138
call fcn.004022ec
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
mov eax, esi
call fcn.00403d0c
mov word [ebx + 0x10], 0x30
lea eax, [ebp - 0x18]
call fcn.004021b8
push eax
inc dword [ebx + 0x1c]
mov edx, str.GameGuard_
lea eax, [ebp - 0x14]
call fcn.004bd0e4
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x14]
mov eax, 0x4d4134
pop ecx
call fcn.004bd26c
lea edx, [ebp - 0x18]
mov eax, esi
mov edx, dword [edx]
call fcn.00404030
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004bd228
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004bd228
mov eax, dword [0x4c4228]
call fcn.0041e014
test al, al
jne 0x402481
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x402656
mov word [ebx + 0x10], 0x3c
lea eax, [ebp - 4]
call fcn.004021b8
inc dword [ebx + 0x1c]
mov word [ebx + 0x10], 0x48
mov word [ebx + 0x10], 0x54
lea eax, [ebp - 0x30]
call fcn.004021b8
mov edx, eax
inc dword [ebx + 0x1c]
mov eax, dword [0x4c4208]
call fcn.0041da58
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x20]
push edx
call fcn.004021b8
push eax
inc dword [ebx + 0x1c]
mov edx, 0x4c470c
lea eax, [ebp - 0x1c]
call fcn.004bd0e4
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x1c]
mov eax, 0x4c4228
pop ecx
call fcn.004bd26c
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x24]
push edx
call fcn.004021b8
mov ecx, eax
inc dword [ebx + 0x1c]
mov edx, 0x4c4248
pop eax
call fcn.004bd26c
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x2c]
push edx
call fcn.004021b8
push eax
inc dword [ebx + 0x1c]
mov edx, 0x4c470e
lea eax, [ebp - 0x28]
call fcn.004bd0e4
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x28]
pop ecx
pop eax
call fcn.004bd26c
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x34]
push edx
call fcn.004021b8
mov ecx, eax
inc dword [ebx + 0x1c]
pop eax
pop edx
call fcn.004bd26c
lea edx, [ebp - 0x34]
lea eax, [ebp - 4]
call fcn.004bd258
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004bd228
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004bd228
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004bd228
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004bd228
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004bd228
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004bd228
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004bd228
mov eax, dword [esi + 0x380]
add eax, 0x270
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 1
lea eax, [ebp - 4]
call fcn.004022ec
push eax
call sub.KERNEL32.DLL_WinExec
cmp dword [0x4c4214], 1
jne 0x40263d
push 0x4d4124
call sub.KERNEL32.DLL_GetSystemTime
mov eax, 0x4c423c
call fcn.004bd390
call fcn.004b6154
mov word [0x4d4124], ax
mov eax, 0x4c4240
call fcn.004bd390
call fcn.004b6154
mov word [0x4d4126], ax
mov eax, 0x4c4244
call fcn.004bd390
call fcn.004b6154
mov word [0x4d412a], ax
push 0x4d4124
call sub.KERNEL32.DLL_SetSystemTime
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004bd228
mov ecx, dword [ebx]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret