Function at 0x4952c5
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x56ee14
call fcn.0051f140
sub esp, 0x968
cmp dword [ebp + 8], 1
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
jne 0x49572c
mov ecx, dword [esi + 0xaf430]
and byte [esi + 0xaf690], 0
xor ebx, ebx
cmp ecx, ebx
mov dword [esi + 0xaf684], ebx
je 0x495323
mov eax, dword [ecx]
push 1
mov dword [ebp - 4], ebx
call dword [eax]
jmp 0x495319
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0xaf430], ebx
call fcn.004fd1bc
cmp dword [esi + 0xaf288], 1
jne 0x49533f
lea eax, [esi + 0xaf28c]
push ebx
push eax
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
mov ecx, dword [esi + 0xaf35c]
cmp ecx, ebx
je 0x49534e
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 0x495535
cmp byte [esi + 0xaf360], 0
lea eax, [esi + 0xaf360]
je 0x495535
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
je 0x495535
push 0x5dac58
lea eax, [ebp - 0x40]
push str._sRecord
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, dword [sym.imp.MSVCRT.dll_strchr]
lea eax, [ebp - 0x40]
push 0x5b
push eax
call edi
add esp, 0x14
cmp eax, ebx
je 0x4953d4
push 1
push 0x5c7154
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [ebp - 0x40]
push 0x5d
push eax
call edi
pop ecx
cmp eax, ebx
pop ecx
je 0x4953f3
push 1
push 0x5c7150
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [ebp - 0x20]
push 0xa
push eax
lea ecx, [esi + 0xaf5d4]
call fcn.0049c45c
mov edi, dword [sym.imp.MSVCRT.dll__itoa]
push eax
call edi
add esp, 0xc
lea eax, [esi + 0xaf360]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
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 - 0x20]
push 0xa
push ecx
push eax
call edi
add esp, 0xc
lea eax, [esi + 0xaf360]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push str.LogRecord
push eax
call ebx
and dword [ebp - 0x14], 0
mov eax, 0x5d8f54
and dword [ebp + 8], 0
mov dword [ebp - 0x18], eax
cmp dword [eax], 0xffffffff
je 0x4954b2
push dword [ebp + 8]
lea eax, [ebp - 0x70]
push dword [ebp - 0x14]
push str.HotKey_d_d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x50]
push 0xa
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
call edi
add esp, 0x1c
lea eax, [esi + 0xaf360]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
call ebx
mov eax, dword [ebp - 0x18]
inc dword [ebp + 8]
add eax, 4
cmp dword [ebp + 8], 0xa
mov dword [ebp - 0x18], eax
jl 0x495473
inc dword [ebp - 0x14]
cmp eax, 0x5d906c
jl 0x49546c
mov al, byte [0x5d8050]
push 0x40
mov byte [ebp - 0x174], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x173]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x71], 0
push 0x5dac58
call fcn.005187e7
pop ecx
push eax
push str.LOG__u_Setup.ini
lea eax, [ebp - 0x174]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea eax, [ebp - 0x174]
mov ecx, esi
push eax
push str.ExitTimes
push str.GameMode
call fcn.0049726c
test al, al
je 0x495709
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 0x4955ae
mov al, byte [0x5d8050]
mov ecx, 0xff
mov byte [ebp - 0x574], al
xor eax, eax
lea edi, [ebp - 0x573]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x574]
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 0x4955a4
lea eax, [ebp - 0x574]
jmp 0x4956f5
push str.http:__zf.91.com_yxtc
jmp 0x4956fd
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 0x495622
mov al, byte [0x5d8050]
mov ecx, 0xff
mov byte [ebp - 0x574], al
xor eax, eax
lea edi, [ebp - 0x573]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x574]
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 0x495618
lea eax, [ebp - 0x574]
jmp 0x4956f5
push str.http:__co.91.com_signout_
jmp 0x4956fd
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 0x495690
mov al, byte [0x5d8050]
mov ecx, 0xff
mov byte [ebp - 0x574], al
xor eax, eax
lea edi, [ebp - 0x573]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x574]
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 0x495689
lea eax, [ebp - 0x574]
jmp 0x4956f5
push str.http:__conquete.91.com_signout_
jmp 0x4956fd
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 0x49570b
mov al, byte [0x5d8050]
mov ecx, 0xff
mov byte [ebp - 0x974], al
xor eax, eax
lea edi, [ebp - 0x973]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x974]
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 0x4956f8
lea eax, [ebp - 0x974]
push eax
jmp 0x4956fd
push str.http:__conquista.91.com_signout_
push ebx
push dword [esi + 0x20]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x49570b
xor ebx, ebx
call dword [sym.imp.GraphicData.dll_GameDataSetDestroy]
call dword [sym.imp.GameData.dll_RoleDataDestroy]
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDialog::EndDialog
push 0x12
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4957ad
xor ebx, ebx
cmp dword [esi + 0xaf1fc], ebx
je 0x49575f
lea edi, [esi + 0x8d220]
cmp edi, ebx
jne 0x495744
xor eax, eax
jmp 0x495747
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49575f
push ebx
push ebx
push 0x1b
mov ecx, edi
call fcn.00416af2
jmp 0x4957ad
mov ebx, dword [sym.imp.GraphicData.dll_GameDataSetQuery]
call ebx
mov edi, eax
call ebx
mov ebx, eax
mov eax, dword [edi]
push 4
push 0x2739
mov ecx, edi
call dword [eax + 0x3c]
push eax
mov eax, dword [ebx]
push 0x277f
mov ecx, ebx
call dword [eax + 0x3c]
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
cmp eax, 6
jne 0x4957a6
mov ecx, esi
call fcn.004957be
mov dword [esi + 0xaf3fc], 1
and dword [esi + 0xaf3fc], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4