Function at 0x407b90
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4686d5
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x49001c]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
push esi
push edi
mov eax, dword [0x49001c]
xor eax, esp
push eax
lea eax, [esp + 0x2e8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov edi, ecx
push esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
call dword [sym.imp.ole32.dll_OleInitialize]
cmp eax, esi
jl 0x40842d
call fcn.00408c10
test al, al
je 0x40842d
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x150]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [esp + 0x2f0], esi
cmp dword [esp + 0x164], 8
mov eax, dword [esp + 0x150]
jae 0x407c32
lea eax, [esp + 0x150]
push esi
push eax
lea ecx, [esp + 0x18c]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMCmdLineParser::constructor_wchar_t_const___bool_]
push esi
push esi
lea ecx, [esp + 0x23c]
push ecx
mov byte [esp + 0x2fc], 1
call fcn.00407ac0
lea ecx, [esp + 0x184]
mov byte [esp + 0x2f0], 2
mov byte [esp + 0x17], 1
call dword [sym.imp.K8Common.dll_public:_unsigned_int___thiscall_GameMgr::GMCmdLineParser::GetKeyNum_void_const]
cmp eax, 2
mov edi, dword [sym.imp.K8Common.dll_public:_bool___thiscall_GameMgr::GMCmdLineParser::HasKey_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__const]
jb 0x407d74
push 0x46a9ec
lea ecx, [esp + 0xe0]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea edx, [esp + 0xdc]
mov byte [esp + 0x2f0], 3
mov ebx, 1
push edx
lea ecx, [esp + 0x188]
mov dword [esp + 0x20], ebx
call edi
test al, al
jne 0x407cf3
push str._id
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [esp + 0x34]
mov dword [esp + 0x2f0], 4
mov ebx, 3
push eax
lea ecx, [esp + 0x188]
mov dword [esp + 0x20], ebx
call edi
test al, al
mov byte [esp + 0x16], 1
je 0x407cf8
mov byte [esp + 0x16], 0
test bl, 2
mov dword [esp + 0x2f0], 3
je 0x407d19
and ebx, 0xfffffffd
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test bl, 1
mov dword [esp + 0x2f0], 2
je 0x407d3d
and ebx, 0xfffffffe
lea ecx, [esp + 0xdc]
mov dword [esp + 0x1c], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp byte [esp + 0x16], 0
jne 0x407d74
lea ecx, [esp + 0x14c]
push ecx
lea esi, [esp + 0x238]
call fcn.004087a0
add esp, 4
cmp dword [esp + 0x248], 0
jne 0x407d6f
cmp dword [esp + 0x2a8], 0
je 0x407d74
mov byte [esp + 0x17], 0
push str._standalone
lea ecx, [esp + 0x8c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x1b4]
mov byte [esp + 0x2f4], 5
mov ebx, dword [sym.imp.K8Common.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_GameMgr::GMCmdLineParser::GetValue_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push eax
lea ecx, [esp + 0x18c]
call ebx
lea ecx, [esp + 0x88]
mov byte [esp + 0x2f0], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push str._registered
lea ecx, [esp + 0x70]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x188]
mov byte [esp + 0x2f4], 8
call edi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x16], al
mov byte [esp + 0x2f0], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push str._urlmd5
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x16c]
push eax
lea ecx, [esp + 0x18c]
mov byte [esp + 0x2f8], 9
call ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0x2f0], 0xb
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test byte [0x491504], 1
jne 0x407e59
or dword [0x491504], 1
push 0x468a40
call fcn.0045d171
add esp, 4
mov eax, dword [0x490240]
and eax, dword [0x490244]
cmp eax, 0xffffffff
je 0x407e75
mov ecx, dword [0x490240]
mov edx, dword [0x490244]
mov eax, dword [esp + 0x2ac]
mov ecx, dword [esp + 0x2b0]
mov dword [0x490240], eax
mov dword [0x490244], ecx
lea ecx, [esp + 0x1e8]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMIEDetect::constructor_void_]
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x2f0], 0xc
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMIEDetect::Detect_void_]
mov edx, dword [esp + 0x2ac]
or edx, dword [esp + 0x2b0]
je 0x407f24
lea ecx, [esp + 0x1e8]
call dword [sym.imp.K8Common.dll_public:_bool___thiscall_GameMgr::GMIEDetect::IsDetected_void_const]
test al, al
je 0x407f08
lea ecx, [esp + 0x1e8]
call dword [sym.imp.K8Common.dll_public:_struct_GameMgr::GMSoftVersion_const____thiscall_GameMgr::GMIEDetect::GetVersion_void_const]
cmp dword [eax], 0xa
jge 0x407f08
call fcn.00408e90
mov eax, dword [0x490240]
or eax, dword [0x490244]
je 0x407efa
call fcn.0041bd80
call dword [sym.imp.K8Common.dll_public:_static_class_GameMgr::GMRegHookHandler____cdecl_GameMgr::GMRegHookHandler::Instance_void_]
mov ecx, eax
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMRegHookHandler::Hook_void_]
mov eax, dword [esp + 0x2ac]
or eax, dword [esp + 0x2b0]
je 0x407f24
call fcn.00407040
mov esi, eax
call fcn.0041f1f0
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
jl 0x4083ac
mov edi, dword [esp + 0x24]
call fcn.00408c10
test al, al
je 0x4083ac
cmp dword [esp + 0x1c4], 0
je 0x4082d7
cmp byte [esp + 0x17], 0
jne 0x4082d7
call fcn.00449400
push str._pipename
lea ecx, [esp + 0xc4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea edx, [esp + 0xc0]
push edx
lea eax, [esp + 0x21c]
push eax
lea ecx, [esp + 0x18c]
mov byte [esp + 0x2f8], 0xf
call ebx
lea ecx, [esp + 0xc0]
mov byte [esp + 0x2f0], 0x11
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push str._parentwnd
lea ecx, [esp + 0xfc]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea ecx, [esp + 0xf8]
push ecx
lea edx, [esp + 0x1d0]
push edx
lea ecx, [esp + 0x18c]
mov byte [esp + 0x2f8], 0x12
call ebx
mov bl, 0x14
lea ecx, [esp + 0xf8]
mov byte [esp + 0x2f0], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor edi, edi
cmp dword [esp + 0x1e0], edi
je 0x408025
cmp dword [esp + 0x1e4], 8
mov eax, dword [esp + 0x1d0]
jae 0x408017
lea eax, [esp + 0x1d0]
push 0
push eax
call dword [sym.imp.K8Common.dll_public:_static_unsigned_long_long_unsigned___int64____cdecl_GameMgr::GMStringUtils::ConvertStringToUInt64_wchar_t_const___wchar_t_const___]
add esp, 8
mov edi, eax
push 0x298
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x2f0], 0x15
je 0x408073
mov edx, dword [esp + 0x2a8]
push 1
push 0
push 0
lea ecx, [esp + 0x25c]
push ecx
push edx
lea ecx, [esp + 0x248]
push ecx
push edi
lea edx, [esp + 0x234]
push edx
push eax
call fcn.0040abd0
mov esi, eax
jmp 0x408075
xor esi, esi
test esi, esi
mov byte [esp + 0x2f0], bl
jne 0x4080f6
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x2f0], 0x11
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x218]
mov byte [esp + 0x2f0], 0xc
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x2f0], 0xb
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMIEDetect::destructor_void_]
lea ecx, [esp + 0x168]
mov byte [esp + 0x2f0], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x1b0]
mov byte [esp + 0x2f0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [esp + 0x234]
push eax
jmp 0x4083f3
push esi
call fcn.00449480
add esp, 4
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0
push 0x46000000
push 0
push edi
mov ecx, esi
call dword [sym.imp.K8UIRender.dll_public:_struct_HWND______thiscall_GameMgr::GMWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
test eax, eax
jne 0x40815a
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x2f0], 0x11
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x218]
mov byte [esp + 0x2f0], 0xc
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x4083ac
mov edi, esi
call fcn.0040b240
mov eax, dword [esp + 0x2a4]
cmp eax, 1
jne 0x408202
push eax
sub esp, 0x1c
lea edx, [esp + 0x2a8]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
sub esp, 0x1c
mov byte [esp + 0x32c], 0x16
lea eax, [esp + 0x2a8]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push esi
mov byte [esp + 0x330], bl
call fcn.0040d650
test al, al
mov eax, esi
jne 0x408238
mov ecx, dword [esp + 0x20]
mov dword [ecx], 0xffffffff
call fcn.0040b1f0
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x2f0], 0x11
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x218]
mov byte [esp + 0x2f0], 0xc
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x4085fe
cmp eax, 2
mov eax, esi
jne 0x408238
call fcn.0040b1f0
cmp dword [esp + 0x280], 0
je 0x40823d
cmp dword [esp + 0x29c], 0
je 0x40823d
push esi
lea ecx, [esp + 0x28c]
lea edi, [esp + 0x270]
call fcn.0040e180
jmp 0x40823d
call fcn.0040b1f0
mov eax, dword [esi + 0x220]
test eax, eax
je 0x408254
mov dl, byte [esp + 0x2d0]
mov byte [eax + 0x5a8], dl
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 1
push 1
mov ecx, esi
call edx
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x2f0], 0x11
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x218]
mov byte [esp + 0x2f0], 0xc
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x2f0], 0xb
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMIEDetect::destructor_void_]
lea ecx, [esp + 0x168]
mov byte [esp + 0x2f0], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x1b0]
mov byte [esp + 0x2f0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [esp + 0x234]
push eax
jmp 0x408645
push 0
push str.Kuai8GameBrowser
push 0
push 0
mov ecx, 0x4913ec
call dword [sym.imp.K8Common.dll_public:_unsigned_long_int___thiscall_GameMgr::GMBaseEvent::Create_bool__bool__wchar_t_const___struct__SECURITY_ATTRIBUTES__]
test eax, eax
mov edi, dword [sym.imp.K8UIRender.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_GameMgr::LoadStr_unsigned_int_]
jne 0x408434
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x408434
lea ecx, [esp + 0x130]
push 0x3e8
push ecx
call edi
add esp, 8
cmp dword [eax + 0x18], 8
jb 0x408329
mov eax, dword [eax + 4]
jmp 0x40832c
add eax, 4
push eax
push str.GMMainWnd
call dword [sym.imp.USER32.dll_FindWindowW]
lea ecx, [esp + 0x130]
mov esi, eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test esi, esi
je 0x408434
cmp byte [esp + 0x17], 0
jne 0x40839c
cmp dword [esp + 0x164], 8
mov dword [esp + 0x28], 0
jb 0x408375
mov edx, dword [esp + 0x150]
mov dword [esp + 0x30], edx
jmp 0x408380
lea eax, [esp + 0x150]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x160]
lea eax, [esp + 0x28]
push eax
lea edx, [ecx + ecx]
push 0x22b8
mov dword [esp + 0x34], edx
push 0x4a
jmp 0x4083a5
push 0
push 0
push 0x7ef
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x2f0], 0xb
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMIEDetect::destructor_void_]
lea ecx, [esp + 0x168]
mov byte [esp + 0x2f0], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x1b0]
mov byte [esp + 0x2f0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x234]
push ecx
mov byte [esp + 0x2f4], 1
call fcn.004086b0
lea ecx, [esp + 0x184]
mov byte [esp + 0x2f0], 0
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMCmdLineParser::destructor_void_]
lea ecx, [esp + 0x14c]
mov dword [esp + 0x2f0], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
jmp 0x408684
push 0x46a6c0
lea ecx, [esp + 0xa8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea edx, [esp + 0xa4]
push 0x270f
push edx
mov byte [esp + 0x2f8], 0xd
call dword [sym.imp.K8Common.dll_public:_static_void___cdecl_GameMgr::GMShellUtils::SetIEEmulation_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_]
add esp, 8
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2f0], 0xc
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
call fcn.00408d30
call fcn.00428720
mov esi, eax
lea eax, [esp + 0x114]
push 0x3e8
push eax
mov dword [esp + 0x28], esi
call edi
add esp, 8
mov byte [esp + 0x2f0], 0xe
cmp dword [eax + 0x18], 8
jb 0x4084ae
mov eax, dword [eax + 4]
jmp 0x4084b1
add eax, 4
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0
push 0x16cf0000
push eax
lea edi, [esi + 4]
push 0
mov ecx, edi
call dword [sym.imp.K8UIRender.dll_public:_struct_HWND______thiscall_GameMgr::GMWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
test eax, eax
lea ecx, [esp + 0x114]
sete bl
mov byte [esp + 0x2f0], 0xc
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test bl, bl
jne 0x4083ac
cmp dword [esp + 0x248], 0
jne 0x40856f
mov eax, dword [esp + 0x2a8]
test eax, eax
je 0x40856f
cmp dword [esp + 0x17c], 0
je 0x408553
cmp dword [esp + 0x280], 0
je 0x408553
push eax
call fcn.00428e70
test eax, eax
je 0x40856f
mov edx, dword [esp + 0x2d4]
push edx
push eax
push esi
lea edx, [esp + 0x278]
lea ecx, [esp + 0x174]
call fcn.0042a330
jmp 0x4085ea
push eax
call fcn.00428e70
test eax, eax
je 0x40856f
mov ecx, dword [esp + 0x2d4]
push ecx
push eax
mov ecx, esi
call fcn.0042a540
jmp 0x4085ea
cmp byte [esp + 0x17], 0
mov ecx, edi
je 0x40857f
call fcn.00411e50
jmp 0x4085ea
mov edx, dword [edi]
mov edx, dword [edx + 0xa8]
push 0xffffffffffffffff
push 1
lea eax, [esp + 0x23c]
push eax
call edx
test eax, eax
je 0x4085ca
mov cl, byte [esp + 0x16]
mov byte [eax + 0x364], cl
mov eax, dword [eax + 0x254]
test eax, eax
mov byte [esp + 0x18], cl
je 0x4085ca
push 0
push 0
push 1
push 0x17
xor esi, esi
lea edx, [esp + 0x28]
mov ecx, eax
call fcn.00433b70
mov esi, dword [esp + 0x20]
push 0xc8
lea ecx, [esi + 0x28]
call dword [sym.imp.K8UIRender.dll_public:_class_GameMgr::GMControl____thiscall_GameMgr::GMPaintManager::FindControl_unsigned_int_const]
test eax, eax
je 0x4085ea
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x124]
push 0
call eax
mov ecx, esi
call fcn.00428b40
mov edx, dword [edi]
mov eax, dword [edx + 8]
push 1
push 1
mov ecx, edi
call eax
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x2f0], 0xb
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMIEDetect::destructor_void_]
lea ecx, [esp + 0x168]
mov byte [esp + 0x2f0], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x1b0]
mov byte [esp + 0x2f0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x234]
push ecx
mov byte [esp + 0x2f4], 1
call fcn.004086b0
lea ecx, [esp + 0x184]
mov byte [esp + 0x2f0], 0
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMCmdLineParser::destructor_void_]
lea ecx, [esp + 0x14c]
mov dword [esp + 0x2f0], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, 1
mov ecx, dword [esp + 0x2e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call fcn.0045d098
mov esp, ebp
pop ebp
ret 4