Function at 0x424280
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4a3140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
push str.edt_msg_caption
lea ecx, [esi + 0x2c]
mov dword [ebp - 0x28], eax
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov ebx, eax
test ebx, ebx
je 0x4242c7
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x28]
add eax, 0x2c
mov dword [ebp - 0x48], eax
call dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
mov edx, dword [ebp - 0x48]
push eax
mov eax, dword [edx]
mov ecx, ebx
call eax
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], 0
mov ebx, dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
push str.btn_msg_cancel
lea ecx, [esi + 0x2c]
je 0x42430e
call ebx
test eax, eax
je 0x4242f9
mov edx, dword [eax]
push str.false
mov ecx, eax
mov eax, dword [edx + 0x108]
push str.visible
call eax
push str.btn_msg_ok
lea ecx, [esi + 0x2c]
call ebx
test eax, eax
je 0x42434e
push str.115_7_205_37
jmp 0x42433d
call ebx
test eax, eax
je 0x42432a
mov edx, dword [eax]
push str.true
mov ecx, eax
mov eax, dword [edx + 0x108]
push str.visible
call eax
push str.btn_msg_ok
lea ecx, [esi + 0x2c]
call ebx
test eax, eax
je 0x42434e
push str.60_7_150_37
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x108]
push 0x48712c
call eax
mov ecx, dword [esi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
sub edi, dword [ebp - 0x14]
sub ebx, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
sub eax, ecx
sub eax, edi
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x18]
sar edi, 1
add edi, ecx
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sub eax, ebx
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [esi + 4]
push 1
sar ebx, 1
push eax
add ebx, ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push edi
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, dword [ebp - 0x28]
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
xor eax, eax
push edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
call edi
test eax, eax
je 0x42445b
push 0
push 0
push 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x42445b
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jne 0x42448e
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [esi + 4]
je 0x42445b
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.DuiLib_u.dll_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::TranslateMessage_struct_tagMSG__const_]
add esp, 4
test al, al
jne 0x42444b
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x40], 0x12
je 0x42445b
mov eax, dword [esi + 4]
push eax
call edi
test eax, eax
jne 0x424402
mov edi, dword [ebp - 0x3c]
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.00456bde
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x104
jne 0x424426
mov edx, dword [ebp - 0x44]
cmp edx, dword [esi + 4]
jne 0x424426
cmp dword [ebp - 0x3c], 0x73
jne 0x424426
push 8
mov ecx, esi
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_]
jmp 0x424451