Function at 0x45d338
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4d39e0
call fcn.004ca3a0
sub esp, 0x4a8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x14], esi
mov ecx, dword [esi + 0x5cfb0]
mov dword [ebp - 0x10], esp
cmp ecx, ebx
je 0x45d37f
mov eax, dword [ecx]
push 1
mov dword [ebp - 4], ebx
call dword [eax]
jmp 0x45d375
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x5cfb0], ebx
mov ecx, 0x50f2d8
call fcn.0049afe9
cmp dword [esi + 0x5ce10], 1
jne 0x45d3a0
lea eax, [esi + 0x5ce14]
push ebx
push eax
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
mov ecx, dword [esi + 0x5cee0]
cmp ecx, ebx
je 0x45d3af
call sub.MFC42.DLL_CGdiObject::DeleteObject
push dword [esi + 0x5cfac]
call dword [sym.imp.GDI32.dll_DeleteObject]
call dword [sym.imp.NDSound.dll__DXDestroy_0]
mov dword [0x5093f4], ebx
mov dword [0x5093f8], ebx
cmp dword [esi + 0x5cd84], ebx
je 0x45d59e
cmp byte [esi + 0x5cee4], 0
lea eax, [esi + 0x5cee4]
je 0x45d59e
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
je 0x45d59e
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
mov ebx, 0x50ae54
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 0x45d436
push 1
push 0x50343c
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 0x45d459
push 1
push 0x503438
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [ebp - 0xb4]
push 0xa
push eax
push ebx
call fcn.00451305
pop ecx
push 0
push eax
call dword [sym.imp.MSVCRT.dll__i64toa]
add esp, 0x10
lea eax, [ebp - 0xb4]
lea ebx, [esi + 0x5cee4]
push eax
push 0x50f2f4
push str.Log__s__s_Setup.ini
push ebx
call edi
add esp, 0x10
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x5d11c]
push 0xa
push eax
call fcn.00463c33
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 + 0x5cce4]
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 + 0x5cee4]
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, 0x5092a8
and dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0xffffffff
je 0x45d55a
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 + 0x5cee4]
push eax
je 0x45d54b
lea eax, [ebp - 0x54]
push eax
jmp 0x45d550
push 0x5046bc
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 0x45d50c
inc dword [ebp - 0x14]
cmp eax, 0x5093c0
jl 0x45d505
lea ecx, [esi + 0x4ad0]
call fcn.0042c127
lea eax, [esi + 0x5cee4]
mov ecx, esi
push eax
lea eax, [ebp - 0x44]
push str.ExitTimes
push eax
call fcn.0045f0b6
test al, al
je 0x45d61a
xor ebx, ebx
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x34]
push eax
push 0x502ae0
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x45d61c
mov al, byte [0x508900]
mov ecx, 0xff
mov byte [ebp - 0x4b4], al
xor eax, eax
lea edi, [ebp - 0x4b3]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x4b4]
push eax
push 0x502c68
push str.ExitPopUp
push str.ini_oem.ini
call fcn.004c60a5
add esp, 0x14
test eax, eax
push 5
push ebx
push ebx
je 0x45d609
lea eax, [ebp - 0x4b4]
push eax
jmp 0x45d60e
push str.http:__zf.91.com_yxtc
push ebx
push dword [esi + 0x20]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x45d61c
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]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret