Function at 0x4102a0
Capabilities:
Acquire debug privileges
Check if file exists
Create process on windows
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e549
mov eax, dword fs:[0]
push eax
sub esp, 0x7cc
mov eax, dword [0x58e188]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0042993d
push str.Goyoo
mov ecx, esi
call fcn.00427a98
mov eax, dword [esi + 0xc4]
lea edi, [esi + 0xc4]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x41030d
push 0x104
mov ecx, edi
call fcn.00401fa0
mov eax, dword [edi]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x410338
push ecx
push eax
call fcn.00516005
add esp, 8
test eax, eax
js 0x411387
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x411387
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [edi]
push 0x5c
push eax
call fcn.005165c2
add esp, 8
or ebx, 0xffffffff
test eax, eax
jne 0x410366
mov eax, ebx
jmp 0x41036a
sub eax, dword [edi]
sar eax, 1
inc eax
push eax
lea eax, [ebp - 0x248]
push eax
mov ecx, edi
call fcn.004067f0
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.004024c0
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
mov dword [ebp - 4], ebx
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4103ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
push 0x5c
push eax
call fcn.005165c2
add esp, 8
test eax, eax
jne 0x4103c2
mov eax, ebx
jmp 0x4103c6
sub eax, dword [edi]
sar eax, 1
push eax
lea ecx, [ebp - 0x248]
push ecx
mov ecx, edi
call fcn.004067f0
lea ecx, [esi + 0xc8]
push eax
mov dword [ebp - 4], 1
call fcn.004024c0
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
mov dword [ebp - 4], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x41040a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0xc8]
mov ebx, dword [ecx - 0xc]
mov eax, ecx
push 0x5c
push eax
call fcn.005165c2
add esp, 8
test eax, eax
jne 0x410429
or eax, 0xffffffff
jmp 0x410431
sub eax, dword [esi + 0xc8]
sar eax, 1
sub ebx, eax
dec ebx
push ebx
lea edx, [ebp - 0x248]
push edx
lea ecx, [esi + 0xc8]
call fcn.00406770
lea ecx, [esi + 0xc0]
push eax
mov dword [ebp - 4], 2
call fcn.004024c0
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410483
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.RunGame.log
lea ecx, [ebp - 0x248]
push edi
push ecx
call fcn.00404620
add esp, 0xc
lea ecx, [esi + 0xd0]
push eax
mov dword [ebp - 4], 3
call fcn.004024c0
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4104d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x258]
push ecx
call fcn.00516571
lea edx, [ebp - 0x258]
push edx
call fcn.0051654a
mov eax, dword [ebp - 0x258]
push eax
lea ecx, [ebp - 0x114]
push str.System_time___ld_
push ecx
call fcn.00402df0
lea edx, [ebp - 0x114]
push edx
call fcn.0040d9d0
add esp, 0x18
mov ecx, esi
call fcn.0040e570
lea eax, [ebp - 0x244]
push eax
mov dword [ebp - 0x244], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
shr ecx, 0x14
push ecx
shr eax, 0x14
push eax
lea ecx, [ebp - 0x218]
push str.System_Memory___d_MB_Free___d_MB
push ecx
call fcn.00402df0
lea edx, [ebp - 0x218]
push edx
call fcn.0040d9d0
add esp, 0x14
mov ecx, esi
call fcn.0040e080
mov ecx, esi
call fcn.0040e150
mov ecx, esi
call fcn.0040f330
push str.TaskBarNotifier.exe
lea eax, [ebp - 0x248]
push edi
push eax
call fcn.00404620
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4105bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteW]
je 0x410613
push str.TaskBarNotifier.exe
lea ecx, [ebp - 0x248]
push edi
push ecx
call fcn.00404620
mov ecx, dword [edi]
mov eax, dword [eax]
add esp, 0xc
push 5
push ecx
push 0x53df2c
push eax
push 0x53ead0
push 0
call ebx
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410613
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Probability.exe
lea ecx, [ebp - 0x248]
push edi
push ecx
call fcn.00404620
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410659
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x24c], 0
je 0x4106af
push str.Probability.exe
lea ecx, [ebp - 0x248]
push edi
push ecx
call fcn.00404620
mov ecx, dword [edi]
mov eax, dword [eax]
add esp, 0xc
push 0
push ecx
push 0x53df2c
push eax
push 0x53ead0
push 0
call ebx
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4106af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.GameInfos.exe
lea ecx, [ebp - 0x248]
push edi
push ecx
call fcn.00404620
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4106f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x24c], 0
je 0x41074b
push str.GameInfos.exe
lea ecx, [ebp - 0x248]
push edi
push ecx
call fcn.00404620
mov ecx, dword [edi]
mov eax, dword [eax]
add esp, 0xc
push 0
push ecx
push 0x53df2c
push eax
push 0x53ead0
push 0
call ebx
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41074b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.RunGame
lea ecx, [ebp - 0x248]
push edi
push ecx
call fcn.00404620
add esp, 0xc
lea ebx, [esi + 0xcc]
push eax
mov ecx, ebx
mov dword [ebp - 4], 4
call fcn.004024c0
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41079e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.ReadMe.txt
lea ecx, [ebp - 0x248]
push ebx
push ecx
call fcn.00404620
add esp, 0xc
lea ecx, [esi + 0xd4]
push eax
mov dword [ebp - 4], 5
call fcn.004024c0
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4107ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Reg
lea ecx, [ebp - 0x248]
push ebx
push ecx
call fcn.00404620
add esp, 0xc
lea ecx, [esi + 0x100]
push eax
mov dword [ebp - 4], 6
call fcn.004024c0
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410840
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.AfLoad.ini
lea ecx, [ebp - 0x248]
push ebx
push ecx
call fcn.00404620
add esp, 0xc
lea ecx, [esi + 0xe8]
push eax
mov dword [ebp - 4], 7
call fcn.004024c0
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410891
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.BfLoad.ini
lea ecx, [ebp - 0x248]
push ebx
push ecx
call fcn.00404620
add esp, 0xc
lea ecx, [esi + 0xec]
push eax
mov dword [ebp - 4], 8
call fcn.004024c0
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4108e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Config.ini
lea ecx, [ebp - 0x248]
push ebx
push ecx
call fcn.00404620
add esp, 0xc
lea ecx, [esi + 0xf0]
push eax
mov dword [ebp - 4], 9
call fcn.004024c0
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410933
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.ModifyIni.ini
lea ecx, [ebp - 0x248]
push ebx
push ecx
call fcn.00404620
add esp, 0xc
lea ecx, [esi + 0xf4]
push eax
mov dword [ebp - 4], 0xa
call fcn.004024c0
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410984
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Pack.ini
lea ecx, [ebp - 0x248]
push ebx
push ecx
call fcn.00404620
add esp, 0xc
lea ecx, [esi + 0xf8]
push eax
mov dword [ebp - 4], 0xb
call fcn.004024c0
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4109d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.SkinSkin.ini
lea ecx, [ebp - 0x248]
push ebx
push ecx
call fcn.00404620
add esp, 0xc
lea ecx, [esi + 0xfc]
push eax
mov dword [ebp - 4], 0xc
call fcn.004024c0
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410a26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.GameInfos.ini
lea ecx, [ebp - 0x248]
push ebx
push ecx
call fcn.00404620
add esp, 0xc
lea ecx, [esi + 0x104]
push eax
mov dword [ebp - 4], 0xd
call fcn.004024c0
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410a77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.SkinSkin.png
lea ecx, [ebp - 0x248]
push ebx
push ecx
call fcn.00404620
add esp, 0xc
lea ecx, [esi + 0xe0]
push eax
mov dword [ebp - 4], 0xe
call fcn.004024c0
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410ac8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.SkinSkin.html
lea ecx, [ebp - 0x248]
push ebx
push ecx
call fcn.00404620
add esp, 0xc
lea ecx, [esi + 0xe4]
push eax
mov dword [ebp - 4], 0xf
call fcn.004024c0
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410b19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.System
lea ecx, [ebp - 0x114]
push str._s_Check_Skin
push ecx
call fcn.00402df0
lea edx, [ebp - 0x114]
push edx
call fcn.0040d9d0
mov eax, dword [esi + 0xe0]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
push eax
mov dword [esi + 0x11c], 1
call ebx
test eax, eax
je 0x410c78
mov eax, dword [esi + 0xfc]
push eax
call ebx
test eax, eax
je 0x410c78
call fcn.0042829f
xor edi, edi
push edi
call fcn.0042bb7b
add esp, 4
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push 8
call fcn.004147b0
add esp, 4
mov dword [ebp - 0x254], eax
mov dword [ebp - 4], 0x1f
cmp eax, edi
je 0x410bab
mov ecx, eax
call fcn.00404590
jmp 0x410bad
xor eax, eax
mov dword [esi + 0x120], eax
push edi
lea eax, [ebp - 0x268]
push eax
push 0x58f8b8
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x268], 1
mov dword [ebp - 0x264], edi
mov dword [ebp - 0x260], edi
mov dword [ebp - 0x25c], edi
call sub.gdiplus.dll_GdiplusStartup
mov eax, dword [esi + 0xe0]
push eax
call ebx
push edi
test eax, eax
je 0x410c34
mov eax, dword [esi + 0xe0]
push eax
lea ecx, [ebp - 0x520]
call fcn.00402c10
lea ecx, [ebp - 0x520]
mov dword [ebp - 4], 0x20
mov dword [esi + 0x20], ecx
call fcn.00425932
lea ecx, [ebp - 0x520]
mov dword [ebp - 4], 0xffffffff
call fcn.00402d40
jmp 0x411073
push edi
push 0x53ffec
push 0x86
lea ecx, [ebp - 0x7d8]
call fcn.00402ca0
lea edx, [ebp - 0x7d8]
mov ecx, edx
mov dword [ebp - 4], 0x21
mov dword [esi + 0x20], edx
call fcn.00425932
lea ecx, [ebp - 0x7d8]
mov dword [ebp - 4], 0xffffffff
call fcn.00402d40
jmp 0x411073
push str.System
lea eax, [ebp - 0x114]
push str._s_Not_Check_Skin
push eax
call fcn.00402df0
lea ecx, [ebp - 0x114]
push ecx
call fcn.0040d9d0
push str.System
lea edx, [ebp - 0x114]
push str._s_Start_SetPrivilege
push edx
call fcn.00402df0
lea eax, [ebp - 0x114]
push eax
call fcn.0040d9d0
push 1
push str.SeDebugPrivilege
call fcn.004056c0
push str.System
lea ecx, [ebp - 0x114]
push str._s_End_SetPrivilege
push ecx
call fcn.00402df0
lea edx, [ebp - 0x114]
push edx
call fcn.0040d9d0
push str.System
lea eax, [ebp - 0x114]
push str._s_Start_SetLocalEnv
push eax
call fcn.00402df0
lea ecx, [ebp - 0x114]
add esp, 0x44
push ecx
call fcn.0040d9d0
call fcn.0040c350
push str.System
lea edx, [ebp - 0x114]
push str._s_End_SetLocalEnv
push edx
call fcn.00402df0
lea eax, [ebp - 0x114]
push eax
call fcn.0040d9d0
add esp, 0x14
push str.none
lea ecx, [ebp - 0x24c]
call fcn.00402730
lea ecx, [ebp - 0x24c]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x254], esp
push str.State
mov dword [ebp - 4], 0x10
call fcn.00402730
mov eax, dword [0x58f980]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x250], esp
mov ebx, esp
push eax
mov byte [ebp - 4], 0x11
call fcn.00402000
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov byte [ebp - 4], 0x10
call fcn.00407510
add esp, 0xc
push str.none
lea ecx, [ebp - 0x248]
call fcn.00402730
lea edx, [ebp - 0x248]
push edx
mov byte [ebp - 4], 0x12
push ecx
mov ecx, esp
mov dword [ebp - 0x254], esp
push str.Path
call fcn.00402730
mov eax, dword [0x58f980]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x250], esp
mov ebx, esp
push eax
mov byte [ebp - 4], 0x13
call fcn.00402000
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov byte [ebp - 4], 0x12
call fcn.00407510
lea eax, [ebp - 0x24c]
push 0x53ea7c
push eax
call fcn.00402630
add esp, 0x14
test al, al
jne 0x410e2f
lea ecx, [ebp - 0x24c]
push str.ReStartGame
push ecx
call fcn.00402630
add esp, 8
test al, al
jne 0x410e2f
mov dword [esi + 0x11c], 1
jmp 0x410e50
lea edx, [ebp - 0x248]
push 0x53e19c
push edx
call fcn.00403400
xor ecx, ecx
add esp, 8
test al, al
sete cl
mov dword [esi + 0x11c], ecx
mov eax, dword [esi + 0xf8]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
je 0x4110ba
push str.System
lea edx, [ebp - 0x114]
push str._s_Start_Insert_SystemNeed
push edx
call fcn.00402df0
lea eax, [ebp - 0x114]
push eax
call fcn.0040d9d0
add esp, 0x10
push 0
lea ecx, [ebp - 0x224]
call fcn.004133c0
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0x14
call fcn.00425932
push str.System
lea ecx, [ebp - 0x114]
cmp eax, 1
jne 0x411091
push str._s_End_Insert_SystemNeed
push ecx
call fcn.00402df0
lea edx, [ebp - 0x114]
push edx
call fcn.0040d9d0
push str.System
lea eax, [ebp - 0x114]
push str._s_Start_RunGame.bat
push eax
call fcn.00402df0
lea ecx, [ebp - 0x114]
push ecx
call fcn.0040d9d0
lea edx, [ebp - 0x24c]
push 0x53e19c
push edx
call fcn.00402630
add esp, 0x28
test al, al
je 0x410f29
push ecx
mov ecx, esp
mov dword [ebp - 0x254], esp
push str.RunGame.bat
call fcn.00402730
mov byte [ebp - 4], 0x15
jmp 0x410fc9
lea eax, [ebp - 0x24c]
push 0x53ea7c
push eax
call fcn.00402630
add esp, 8
test al, al
je 0x410f86
lea ecx, [ebp - 0x248]
push 0x53e19c
push ecx
call fcn.00402630
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x254], esp
push str.RunGame.bat
test al, al
je 0x410f72
call fcn.00402730
mov byte [ebp - 4], 0x16
jmp 0x410fc9
call fcn.00402730
mov eax, dword [ebp - 0x248]
mov byte [ebp - 4], 0x17
add eax, 0xfffffff0
jmp 0x410fd2
lea edx, [ebp - 0x24c]
push str.ReStartGame
push edx
call fcn.00402630
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x254], esp
push str.RunGame.bat
test al, al
je 0x410fc0
call fcn.00402730
mov eax, dword [ebp - 0x248]
mov byte [ebp - 4], 0x18
add eax, 0xfffffff0
jmp 0x410fd2
call fcn.00402730
mov byte [ebp - 4], 0x19
mov eax, dword [esi + 0xc8]
sub eax, 0x10
push ecx
mov dword [ebp - 0x250], esp
mov edi, esp
push eax
call fcn.00402000
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov ecx, esi
mov byte [ebp - 4], 0x14
call fcn.0040ee00
push str.System
lea eax, [ebp - 0x114]
push str._s_End_RunGame.bat
push eax
call fcn.00402df0
lea ecx, [ebp - 0x114]
push ecx
call fcn.0040d9d0
add esp, 0x10
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0x12
call fcn.00413320
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41104e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411073
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00514c0e
mov esp, ebp
pop ebp
ret
push str._s_Install_SystemNeed_Failed
push ecx
call fcn.00402df0
lea edx, [ebp - 0x114]
push edx
call fcn.0040d9d0
add esp, 0x10
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0x12
call fcn.00413320
mov eax, dword [esi + 0xec]
push eax
call ebx
test eax, eax
je 0x411113
push str.System
lea eax, [ebp - 0x114]
push str._s_Start_BeforeLoad
push eax
call fcn.00402df0
lea ecx, [ebp - 0x114]
push ecx
call fcn.0040d9d0
call fcn.0040c2b0
push str.System
lea edx, [ebp - 0x114]
push str._s_End_BeforeLoad
push edx
call fcn.00402df0
lea eax, [ebp - 0x114]
push eax
call fcn.0040d9d0
add esp, 0x20
push str.System
lea ecx, [ebp - 0x114]
push str._s_Start_RunGame.bat
push ecx
call fcn.00402df0
lea edx, [ebp - 0x114]
push edx
call fcn.0040d9d0
push str.RunGame.bat
lea eax, [ebp - 0x250]
push edi
push eax
call fcn.00404620
mov eax, dword [eax]
add esp, 0x1c
push eax
call ebx
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411177
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x254], 0
je 0x4112c7
lea ecx, [ebp - 0x24c]
push 0x53e19c
push ecx
call fcn.00402630
add esp, 8
test al, al
je 0x4111b8
push ecx
mov ecx, esp
mov dword [ebp - 0x254], esp
push str.RunGame.bat
call fcn.00402730
mov byte [ebp - 4], 0x1a
jmp 0x411258
lea edx, [ebp - 0x24c]
push 0x53ea7c
push edx
call fcn.00402630
add esp, 8
test al, al
je 0x411215
lea eax, [ebp - 0x248]
push 0x53e19c
push eax
call fcn.00402630
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x254], esp
push str.RunGame.bat
test al, al
je 0x411201
call fcn.00402730
mov byte [ebp - 4], 0x1b
jmp 0x411258
call fcn.00402730
mov eax, dword [ebp - 0x248]
mov byte [ebp - 4], 0x1c
add eax, 0xfffffff0
jmp 0x411261
lea ecx, [ebp - 0x24c]
push str.ReStartGame
push ecx
call fcn.00402630
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x254], esp
push str.RunGame.bat
test al, al
je 0x41124f
call fcn.00402730
mov eax, dword [ebp - 0x248]
mov byte [ebp - 4], 0x1d
add eax, 0xfffffff0
jmp 0x411261
call fcn.00402730
mov byte [ebp - 4], 0x1e
mov eax, dword [esi + 0xc8]
sub eax, 0x10
push ecx
mov dword [ebp - 0x250], esp
mov edi, esp
push eax
call fcn.00402000
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.0040ee00
push str.System
lea edx, [ebp - 0x114]
push str._s_End_RunGame.bat
push edx
call fcn.00402df0
lea eax, [ebp - 0x114]
push eax
call fcn.0040d9d0
add esp, 0x10
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x411042
push str.GameLoader.exe
lea ecx, [ebp - 0x254]
push edi
push ecx
call fcn.00404620
mov eax, dword [eax]
add esp, 0xc
push eax
call ebx
mov esi, eax
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411305
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x411373
push str.GameLoader.exe
lea ecx, [ebp - 0x254]
push edi
push ecx
call fcn.00404620
mov edi, dword [edi]
mov eax, dword [eax]
add esp, 0xc
push 5
push edi
push 0x53df2c
push eax
push 0x53ead0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41135a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.System
lea ecx, [ebp - 0x114]
push str._s_End_GameLoader.exe
push ecx
call fcn.00402df0
add esp, 0xc
lea edx, [ebp - 0x114]
push edx
call fcn.0040d9d0
add esp, 4
jmp 0x4112a8
push 0x80070057
call fcn.00401040
int3