Function at 0x425f60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x463d41
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x49001c]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
call fcn.00455040
mov dword [esp + 0x28], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x28]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x28]
mov dword [eax], eax
mov eax, dword [esp + 0x28]
xor esi, esi
mov dword [eax + 8], eax
mov dword [esp + 0x2c], esi
mov edi, dword [ebp + 8]
mov dword [esp + 0x58], esi
cmp byte [edi + 0x2dd], 0
mov ebx, dword [sym.imp.K8UIRender.dll_public:_struct_HWND______thiscall_GameMgr::GMWindowWnd::GetHWND_void_const]
jne 0x4262c0
lea ecx, [edi + 8]
lea eax, [esp + 0x24]
call fcn.0041c9e0
lea ecx, [edi + 4]
mov dword [eax], ecx
mov ecx, dword [edi + 0x298]
cmp ecx, esi
mov esi, dword [sym.imp.K8UIRender.dll_public:_struct_HWND______thiscall_GameMgr::GMWindowWnd::operator_struct_HWND____void_const]
je 0x42601c
call esi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42601c
mov ecx, dword [edi + 0x298]
call ebx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x24]
call fcn.0041c9e0
mov edx, dword [edi + 0x298]
mov dword [eax], edx
mov ecx, dword [edi + 0x29c]
test ecx, ecx
je 0x426067
call esi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x426067
mov ecx, dword [edi + 0x29c]
call ebx
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x426067
mov ecx, dword [edi + 0x29c]
call ebx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x24]
call fcn.0041c9e0
mov ecx, dword [edi + 0x29c]
mov dword [eax], ecx
cmp byte [edi + 0x2dd], 0
jne 0x4262c0
push 0
call dword [sym.imp.USER32.dll_GetTopWindow]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4260f9
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4260e4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
lea ebx, [esp + 0x10]
lea eax, [esp + 0x1c]
lea esi, [esp + 0x24]
call fcn.0042d760
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x4260bc
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x4260c2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x18]
cmp dword [esi + 4], edx
je 0x4260e4
lea ecx, [esp + 0x10]
lea eax, [esp + 0x24]
call fcn.0041c9e0
push eax
lea eax, [edi + 0x2a0]
call fcn.0042d620
mov eax, dword [esp + 0x10]
push 2
push eax
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x426084
mov ecx, dword [edi + 0x2b0]
lea esi, [edi + 0x2a0]
mov edi, dword [esi + 0xc]
add ecx, edi
cmp edi, ecx
jbe 0x426114
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
add ebx, eax
cmp eax, ebx
jbe 0x426126
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, esi
je 0x426130
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, ebx
je 0x426188
mov edx, dword [esi + 0x10]
add edx, dword [esi + 0xc]
mov ebx, edi
mov eax, edi
and eax, 3
shr ebx, 2
cmp edi, edx
mov dword [esp + 0x10], eax
jb 0x426152
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 8]
cmp eax, ebx
ja 0x42615b
sub ebx, eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + ebx*4]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + edx*4]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
push 0
call edx
mov eax, dword [esi + 0x10]
add eax, dword [esi + 0xc]
cmp edi, eax
jb 0x426183
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add edi, 1
jmp 0x426114
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x2c8]
add edi, 0x2c4
cmp esi, dword [edi + 8]
jbe 0x4261a2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x4261b0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, edi
je 0x4261ba
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, ebx
je 0x4261f6
cmp esi, dword [edi + 8]
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jb 0x4261cb
call ebx
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4261ea
cmp esi, dword [edi + 8]
jb 0x4261df
call ebx
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, dword [edi + 8]
jb 0x4261f1
call ebx
add esi, 4
jmp 0x4261a2
mov eax, dword [ebp + 8]
cmp dword [eax + 0x28c], 0
jbe 0x426218
mov ecx, dword [0x491438]
push 0
push 0
push ecx
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x294]
test ecx, ecx
je 0x426258
mov edi, dword [sym.imp.K8UIRender.dll_public:_struct_HWND______thiscall_GameMgr::GMWindowWnd::GetHWND_void_const]
call edi
test eax, eax
je 0x426258
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x294]
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x426258
mov ecx, dword [esi + 0x294]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 0
push 0
call edx
lea eax, [esp + 0x30]
push 0x3e8
push eax
call 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_]
add esp, 8
mov byte [esp + 0x58], 1
cmp dword [eax + 0x18], 8
jb 0x42627f
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], ecx
jmp 0x426286
add eax, 4
mov dword [esp + 0x10], eax
mov edx, dword [ebp + 8]
mov esi, dword [edx + 8]
call dword [sym.imp.K8UIRender.dll_struct_HINSTANCE______cdecl_GameMgr::GetResourceInstance_void_]
mov ebx, eax
call fcn.0042e560
mov edi, dword [eax]
test edi, edi
je 0x4262ac
mov eax, dword [esp + 0x10]
push eax
push ebx
mov ecx, esi
call fcn.00441bf0
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 0
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 0x42643b
mov ecx, dword [edi + 0x228]
test ecx, ecx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4262fd
mov eax, dword [edi + 0x22c]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x4262fd
mov esi, dword [edi + 8]
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4262f1
push 9
jmp 0x4262f3
push 5
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [edi + 0x2b0]
lea esi, [edi + 0x2a0]
mov edi, dword [esi + 0xc]
add ecx, edi
cmp edi, ecx
jbe 0x426318
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
add ebx, eax
cmp eax, ebx
jbe 0x42632a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, esi
je 0x426334
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, ebx
je 0x42638c
mov edx, dword [esi + 0x10]
add edx, dword [esi + 0xc]
mov ebx, edi
mov eax, edi
and eax, 3
shr ebx, 2
cmp edi, edx
mov dword [esp + 0x10], eax
jb 0x426356
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 8]
cmp eax, ebx
ja 0x42635f
sub ebx, eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + ebx*4]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + edx*4]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
push 1
call edx
mov eax, dword [esi + 0x10]
add eax, dword [esi + 0xc]
cmp edi, eax
jb 0x426387
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add edi, 1
jmp 0x426318
call fcn.0042dc80
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x2c8]
add edi, 0x2c4
cmp esi, dword [edi + 8]
jbe 0x4263b0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jmp 0x4263b0
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x4263be
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, edi
je 0x4263c8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, ebx
je 0x426419
cmp esi, dword [edi + 8]
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jb 0x4263d9
call ebx
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42640d
cmp esi, dword [edi + 8]
jb 0x4263ed
call ebx
mov edx, dword [esi]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, dword [edi + 8]
jb 0x4263ff
call ebx
mov eax, dword [esi]
push 1
push eax
call dword [sym.imp.K8Common.dll_public:_static_void___cdecl_GameMgr::GMWindowUtils::BringToFrontWindow_struct_HWND_____bool_]
add esp, 8
cmp esi, dword [edi + 8]
jb 0x426414
call ebx
add esi, 4
jmp 0x4263b0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x28c], 0
jbe 0x42643b
mov edx, dword [0x491438]
push 1
push 5
push edx
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp + 8]
cmp byte [eax + 0x2dd], 0
mov dword [esp + 0x58], 0xffffffff
sete cl
mov byte [eax + 0x2dd], cl
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
mov esi, ecx
push esi
lea edx, [esp + 0x2c]
push edx
mov edi, ecx
call fcn.0041d760
mov eax, dword [esp + 0x28]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4