Function at 0x4957be
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x56ee20
call fcn.0051f140
sub esp, 0x9ac
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x14], esi
mov ecx, dword [esi + 0xaf430]
and byte [esi + 0xaf690], 0
cmp ecx, ebx
mov dword [ebp - 0x10], esp
mov dword [esi + 0xaf684], ebx
je 0x495812
mov eax, dword [ecx]
push 1
mov dword [ebp - 4], ebx
call dword [eax]
jmp 0x495808
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0xaf430], ebx
call fcn.004fd1bc
mov ecx, 0x5df010
call fcn.004dce2f
cmp dword [esi + 0xaf288], 1
jne 0x495838
lea eax, [esi + 0xaf28c]
push ebx
push eax
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
mov ecx, dword [esi + 0xaf35c]
cmp ecx, ebx
je 0x495847
call sub.MFC42.DLL_CGdiObject::DeleteObject
push dword [esi + 0xaf42c]
call dword [sym.imp.GDI32.dll_DeleteObject]
call dword [sym.imp.NDSound.dll__DXDestroy_0]
mov dword [0x5d91b4], ebx
mov dword [0x5d91b8], ebx
cmp dword [esi + 0xaf1fc], ebx
je 0x495a83
cmp byte [esi + 0xaf360], 0
lea eax, [esi + 0xaf360]
je 0x495a83
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
je 0x495a83
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
mov ebx, 0x5dac58
push ebx
lea eax, [ebp - 0x44]
push str._sRecord
push eax
call edi
lea eax, [ebp - 0x44]
push 0x5b
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 0x14
test eax, eax
je 0x4958ce
push 1
push 0x5c7154
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x5d
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
pop ecx
test eax, eax
pop ecx
je 0x4958f1
push 1
push 0x5c7150
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [ebp - 0xb4]
push 0xa
push eax
push ebx
call fcn.00483e3c
pop ecx
push 0
push eax
call dword [sym.imp.MSVCRT.dll__i64toa]
add esp, 0x10
lea eax, [ebp - 0xb4]
lea ebx, [esi + 0xaf360]
push eax
push 0x5def58
push str.Log__s__s_Setup.ini
push ebx
call edi
add esp, 0x10
lea eax, [ebp - 0x24]
lea ecx, [esi + 0xaf5d4]
push 0xa
push eax
call fcn.0049c45c
mov edi, dword [sym.imp.MSVCRT.dll__itoa]
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x24]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
lea eax, [ebp - 0x44]
push str.LineRecord
push eax
call ebx
push 0
push 0
push 0xf0
push dword [esi + 0xaf15c]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x24]
push 0xa
push ecx
push eax
call edi
add esp, 0xc
lea eax, [esi + 0xaf360]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push str.LogRecord
push eax
call ebx
and dword [ebp - 0x14], 0
mov eax, 0x5d8f54
and dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0xffffffff
je 0x4959f2
push dword [ebp - 0x18]
lea eax, [ebp - 0x74]
push dword [ebp - 0x14]
push str.HotKey_d_d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x54]
push 0xa
push eax
mov eax, dword [ebp - 0x1c]
push dword [eax]
call edi
mov eax, dword [ebp - 0x1c]
add esp, 0x1c
cmp dword [eax], 0
lea eax, [esi + 0xaf360]
push eax
je 0x4959e3
lea eax, [ebp - 0x54]
push eax
jmp 0x4959e8
push 0x5c6e98
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x44]
push eax
call ebx
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0x18]
add eax, 4
cmp dword [ebp - 0x18], 0xa
mov dword [ebp - 0x1c], eax
jl 0x4959a4
inc dword [ebp - 0x14]
cmp eax, 0x5d906c
jl 0x49599d
lea ecx, [esi + 0x790]
call fcn.0043e635
mov al, byte [0x5d8050]
push 0x40
mov byte [ebp - 0x1b8], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x1b7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0xb5], 0
push 0x5dac58
call fcn.005187e7
pop ecx
push eax
push str.LOG__u_Setup.ini
lea eax, [ebp - 0x1b8]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea eax, [ebp - 0x1b8]
mov ecx, esi
push eax
push str.ExitTimes
push str.GameMode
call fcn.0049726c
test al, al
je 0x495c57
xor ebx, ebx
mov edi, dword [sym.imp.GraphicData.dll_GameDataSetQuery]
call edi
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x34]
push eax
push 0x5c5f1c
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x495afc
mov al, byte [0x5d8050]
mov ecx, 0xff
mov byte [ebp - 0x5b8], al
xor eax, eax
lea edi, [ebp - 0x5b7]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x5b8]
push eax
push 0x5c67b8
push str.ExitPopUp
push str.ini_oem.ini
call fcn.0051810b
add esp, 0x14
test eax, eax
push 5
push ebx
push ebx
je 0x495af2
lea eax, [ebp - 0x5b8]
jmp 0x495c43
push str.http:__zf.91.com_yxtc
jmp 0x495c4b
call edi
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x34]
push eax
push str.English
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x495b70
mov al, byte [0x5d8050]
mov ecx, 0xff
mov byte [ebp - 0x5b8], al
xor eax, eax
lea edi, [ebp - 0x5b7]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x5b8]
push eax
push 0x5c67b8
push str.ExitPopUp
push str.ini_oem.ini
call fcn.0051810b
add esp, 0x14
test eax, eax
push 5
push ebx
push ebx
je 0x495b66
lea eax, [ebp - 0x5b8]
jmp 0x495c43
push str.http:__co.91.com_signout_
jmp 0x495c4b
call edi
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x34]
push eax
push str.French
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x495bde
mov al, byte [0x5d8050]
mov ecx, 0xff
mov byte [ebp - 0x5b8], al
xor eax, eax
lea edi, [ebp - 0x5b7]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x5b8]
push eax
push 0x5c67b8
push str.ExitPopUp
push str.ini_oem.ini
call fcn.0051810b
add esp, 0x14
test eax, eax
push 5
push ebx
push ebx
je 0x495bd7
lea eax, [ebp - 0x5b8]
jmp 0x495c43
push str.http:__conquete.91.com_signout_
jmp 0x495c4b
call edi
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x34]
push eax
push str.Spanish
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x495c59
mov al, byte [0x5d8050]
mov ecx, 0xff
mov byte [ebp - 0x9b8], al
xor eax, eax
lea edi, [ebp - 0x9b7]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x9b8]
push eax
push 0x5c67b8
push str.ExitPopUp
push str.ini_oem.ini
call fcn.0051810b
add esp, 0x14
test eax, eax
push 5
push ebx
push ebx
je 0x495c46
lea eax, [ebp - 0x9b8]
push eax
jmp 0x495c4b
push str.http:__conquista.91.com_signout_
push ebx
push dword [esi + 0x20]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x495c59
xor ebx, ebx
call dword [sym.imp.GraphicData.dll_GameDataSetDestroy]
call dword [sym.imp.GameData.dll_RoleDataDestroy]
call fcn.004fa16f
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDialog::EndDialog
push 0x12
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret