Function at 0x495170
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x5cd9c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x60]
mov byte [eax + 0x6c8], 0
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebx + 8]
mov dword [ecx + 0x6bc], edx
mov eax, dword [ebp - 0x60]
mov dword [eax + 0x6c0], 0
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x6bc]
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x6bc]
add ecx, 0x6c0
mov edx, dword [edx + 0x6c0]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x6c4], eax
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x6bc]
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0x84]
call sym.360pic.exe_public:_struct_tagSIZE___thiscall_DuiLib::CComboUI::GetDropBoxSize_void_
mov edx, dword [ebx + 8]
mov eax, dword [edx]
mov ecx, dword [ebx + 8]
mov edx, dword [eax + 0x60]
call edx
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x74]
mov dword [ebp - 8], edx
cmp dword [ebp - 0x78], 0
jle 0x495260
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x78]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
jmp 0x495291
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
mov ecx, dword [ebx + 8]
add ecx, 0x558
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x558]
mov edx, dword [eax + 0xc]
call edx
cmp dword [ebp - 0x68], eax
jge 0x49533c
mov eax, dword [ebx + 8]
add eax, 0x558
mov dword [ebp - 0x88], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x558]
mov eax, dword [edx]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x88]
call dword [ebp - 0x8c]
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [eax + 0x10c]
call edx
movzx eax, al
test eax, eax
jne 0x4952fc
jmp 0x495288
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x158]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x98]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x6c]
call dword [ebp - 0x90]
mov ecx, dword [ebp - 0x64]
add ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x64], ecx
jmp 0x495288
mov edx, dword [ebp - 0x64]
add edx, 4
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x74]
jge 0x495355
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x7c], ecx
jmp 0x49535b
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x7c]
mov dword [ebp - 8], eax
push 2
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebx + 8]
mov eax, dword [edx]
mov ecx, dword [ebx + 8]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call sym.360pic.exe_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
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
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x4c], 0x28
lea ecx, [ebp - 0x4c]
push ecx
push 1
mov ecx, dword [ebp - 0x60]
call sym.360pic.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x5c]
call sym.360pic.exe_public:_void___thiscall_DuiLib::CDuiRect::constructor_struct_tagRECT_const__
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x50]
jle 0x495441
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x78], 0
jle 0x4953f9
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x78]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x74]
jge 0x495409
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x80], edx
jmp 0x49540f
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x80]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 8], edx
push 2
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov ecx, dword [ebx + 8]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call sym.360pic.exe_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebx + 8]
mov eax, dword [edx]
mov ecx, dword [ebx + 8]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call sym.360pic.exe_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
mov dword [ebp - 0x94], eax
push 0
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0xb0]
mov dword [eax], ecx
mov edx, dword [ebp - 0xac]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xa8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xa4]
mov dword [eax + 0xc], edx
push 0x80
push 0x80000000
push 0
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x60]
call sym.360pic.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4954ea
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x70], eax
jmp 0x4954cd
push 5
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d360
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4