Function at 0x476fde
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x51b5d0
call fcn.004edf30
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 0x477445
mov ecx, dword [esi + 0x8b500]
and byte [esi + 0x8b760], 0
xor ebx, ebx
cmp ecx, ebx
mov dword [esi + 0x8b754], ebx
je 0x47703c
mov eax, dword [ecx]
push 1
mov dword [ebp - 4], ebx
call dword [eax]
jmp 0x477032
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x8b500], ebx
call fcn.004d0ce1
cmp dword [esi + 0x8b360], 1
jne 0x477058
lea eax, [esi + 0x8b364]
push ebx
push eax
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
mov ecx, dword [esi + 0x8b430]
cmp ecx, ebx
je 0x477067
call sub.MFC42.DLL_CGdiObject::DeleteObject
push dword [esi + 0x8b4fc]
call dword [sym.imp.GDI32.dll_DeleteObject]
call dword [sym.imp.NDSound.dll__DXDestroy_0]
mov dword [0x569680], ebx
mov dword [0x569684], ebx
cmp dword [esi + 0x8b2d4], ebx
je 0x47724e
cmp byte [esi + 0x8b434], 0
lea eax, [esi + 0x8b434]
je 0x47724e
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
je 0x47724e
push 0x56b0dc
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 0x4770ed
push 1
push 0x55aa2c
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 0x47710c
push 1
push 0x55aa28
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [ebp - 0x20]
push 0xa
push eax
lea ecx, [esi + 0x8b6a4]
call fcn.0047dd25
mov edi, dword [sym.imp.MSVCRT.dll__itoa]
push eax
call edi
add esp, 0xc
lea eax, [esi + 0x8b434]
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 + 0x8b234]
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 + 0x8b434]
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, 0x5694b4
and dword [ebp + 8], 0
mov dword [ebp - 0x18], eax
cmp dword [eax], 0xffffffff
je 0x4771cb
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 + 0x8b434]
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 0x47718c
inc dword [ebp - 0x14]
cmp eax, 0x5695cc
jl 0x477185
mov al, byte [0x568b08]
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 0x56b0dc
call fcn.004ea093
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.00478e63
test al, al
je 0x477422
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 0x559eb8
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x4772c7
mov al, byte [0x568b08]
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 0x55a074
push str.ExitPopUp
push str.ini_oem.ini
call fcn.004e99b7
add esp, 0x14
test eax, eax
push 5
push ebx
push ebx
je 0x4772bd
lea eax, [ebp - 0x574]
jmp 0x47740e
push str.http:__zf.91.com_yxtc
jmp 0x477416
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 0x47733b
mov al, byte [0x568b08]
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 0x55a074
push str.ExitPopUp
push str.ini_oem.ini
call fcn.004e99b7
add esp, 0x14
test eax, eax
push 5
push ebx
push ebx
je 0x477331
lea eax, [ebp - 0x574]
jmp 0x47740e
push str.http:__co.91.com_signout_
jmp 0x477416
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 0x4773a9
mov al, byte [0x568b08]
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 0x55a074
push str.ExitPopUp
push str.ini_oem.ini
call fcn.004e99b7
add esp, 0x14
test eax, eax
push 5
push ebx
push ebx
je 0x4773a2
lea eax, [ebp - 0x574]
jmp 0x47740e
push str.http:__conquete.91.com_signout_
jmp 0x477416
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 0x477424
mov al, byte [0x568b08]
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 0x55a074
push str.ExitPopUp
push str.ini_oem.ini
call fcn.004e99b7
add esp, 0x14
test eax, eax
push 5
push ebx
push ebx
je 0x477411
lea eax, [ebp - 0x974]
push eax
jmp 0x477416
push str.http:__conquista.91.com_signout_
push ebx
push dword [esi + 0x20]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x477424
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 0x4774c6
xor ebx, ebx
cmp dword [esi + 0x8b2d4], ebx
je 0x477478
lea edi, [esi + 0x6c838]
cmp edi, ebx
jne 0x47745d
xor eax, eax
jmp 0x477460
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x477478
push ebx
push ebx
push 0x1b
mov ecx, edi
call fcn.0041ccc2
jmp 0x4774c6
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 0x4774bf
mov ecx, esi
call fcn.004774d7
mov dword [esi + 0x8b4d0], 1
and dword [esi + 0x8b4d0], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4