Function at 0x4130d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
cmp dword [ebp + 8], edi
je 0x413245
push str.GamePP3
push str.GamePP.exe
push 0x4d4a9c
lea edi, [esp + 0x20]
call fcn.00413010
push str.TFTUtils
push str.TFTUtils.exe
push 0x4d4abc
call fcn.00413010
push 0x4d3b50
push 0x4d3b9c
push 0x4d3b50
call fcn.00413010
push str.ClickUtils
push str.ClickUtils.exe
push 0x4d4ae0
call fcn.00413010
mov edi, dword [esp + 0x14]
cmp edi, dword [esp + 0x18]
je 0x413233
mov eax, dword [edi]
add eax, 8
mov ecx, 0x4d3b9c
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x41318b
test dx, dx
je 0x413187
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x41318b
add ecx, 4
add eax, 4
test dx, dx
jne 0x413165
xor eax, eax
jmp 0x413190
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x413226
cmp dword [0x4fd894], 0
jne 0x4131ca
push 0x24d0
call fcn.0042ec9c
add esp, 4
test eax, eax
je 0x4131c0
mov esi, eax
call fcn.00411220
mov dword [0x4fd894], eax
jmp 0x4131ca
mov dword [0x4fd894], 0
mov ebx, dword [edi]
add ebx, 8
je 0x413226
call fcn.00411680
test eax, eax
je 0x413226
mov eax, dword [edi]
mov dword [eax], 1
mov eax, dword [edi]
add eax, 0x210
push eax
push 0
mov dword [esp + 0x2c], 1
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x413215
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x1c
test al, 1
je 0x413215
mov eax, 1
jmp 0x413217
xor eax, eax
mov ecx, dword [edi]
mov dword [ecx + 4], eax
mov ecx, dword [edi]
add ecx, 8
call fcn.00413c70
add edi, 4
cmp edi, dword [esp + 0x18]
jne 0x41315b
push str.GPPPlatform.exe
call fcn.00413f40
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
cmp dword [ebp + 0xc], 0
je 0x413255
call fcn.00413430
jmp 0x4133ac
mov edx, dword [0x4fa44c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4fa44c
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [0x4fd894]
test eax, eax
jne 0x413296
push 0x24d0
call fcn.0042ec9c
add esp, 4
test eax, eax
je 0x41328f
mov esi, eax
call fcn.00411220
jmp 0x413291
xor eax, eax
mov dword [0x4fd894], eax
mov ecx, dword [eax + 0x24cc]
add eax, 0xc30
cmp dword [ecx - 0xc], 0
lea edi, [esp + 0x10]
jne 0x4132bb
push eax
push str._s__main
call fcn.00403d60
add esp, 8
jmp 0x4132ca
push ecx
push eax
push str._s__main__gameid_s
call fcn.00403d60
add esp, 0xc
cmp dword [0x4fd894], 0
jne 0x4132fc
push 0x24d0
call fcn.0042ec9c
add esp, 4
test eax, eax
je 0x4132f2
mov esi, eax
call fcn.00411220
mov dword [0x4fd894], eax
jmp 0x4132fc
mov dword [0x4fd894], 0
mov edi, dword [esp + 0x10]
push edi
call fcn.0040cd10
test eax, eax
jne 0x41338c
cmp dword [0x4fd894], eax
jne 0x41333f
push 0x24d0
call fcn.0042ec9c
add esp, 4
test eax, eax
je 0x413335
mov esi, eax
call fcn.00411220
mov dword [0x4fd894], eax
jmp 0x41333f
mov dword [0x4fd894], 0
push 0x40
lea eax, [esp + 0x30]
push 0
push eax
mov dword [esp + 0x34], 0x44
call fcn.00438230
add esp, 0xc
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
push edi
mov ecx, 1
push 0
mov dword [esp + 0x7c], 1
mov word [esp + 0x80], cx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4133a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x24], 0
je 0x4133e4
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, edi
cmp edi, ebx
je 0x4133e4
mov eax, dword [esi]
cmp dword [eax], 0
je 0x4133dd
mov ecx, dword [eax + 4]
push ecx
lea edx, [eax + 8]
lea ecx, [eax + 0x418]
call fcn.00413df0
add esi, 4
cmp esi, ebx
jne 0x4133c4
mov esi, edi
cmp edi, ebx
je 0x41340e
lea ebx, [ebx]
mov edx, dword [esi]
push edx
call fcn.0042ec40
add esi, 4
add esp, 4
cmp esi, ebx
jne 0x4133f0
push 0
push ebx
push edi
call fcn.0042e5e0
add esp, 0xc
test edi, edi
je 0x41341b
push edi
call fcn.0042ec40
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8