Function at 0x4705c5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
and dword [esi + 0x45c], 0
lea ecx, [ebx + 0x600]
mov dword [esi + 0x458], ebx
mov eax, dword [ecx]
push edi
mov dword [ebp - 4], esi
call dword [eax + 4]
mov ecx, dword [esi + 0x458]
mov dword [esi + 0x460], eax
lea eax, [ebp - 0x10]
push eax
call sym.tpop4.exe_public:_struct_tagSIZE___thiscall_DuiLib::CComboUI::GetDropBoxSize_void_
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x50]
mov esi, eax
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x34]
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x30]
add eax, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], eax
test ecx, ecx
jle 0x47063c
add ecx, esi
mov dword [ebp - 0x28], ecx
jmp 0x47063f
mov ecx, dword [ebp - 0x28]
sub ecx, esi
sub eax, edx
lea edi, [ebx + 0x4b8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
xor esi, esi
and dword [ebp + 8], esi
mov ecx, edi
call dword [eax + 0xc]
test eax, eax
jle 0x4706a0
push dword [ebp + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov edx, dword [eax]
mov ecx, eax
mov dword [ebp - 8], eax
call dword [edx + 0xec]
test al, al
je 0x470691
push dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
push dword [ebp - 0x18]
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
call dword [eax + 0x138]
add esi, dword [ebp - 0x1c]
mov eax, dword [edi]
inc dword [ebp + 8]
mov ecx, edi
call dword [eax + 0xc]
cmp dword [ebp + 8], eax
jl 0x47065f
add esi, 4
cmp esi, dword [ebp - 0xc]
mov dword [ebp + 8], esi
jl 0x4706ae
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
add esi, eax
push 2
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx]
push 0
mov ecx, ebx
mov dword [ebp - 0x24], esi
call dword [eax + 0x1c]
mov ecx, eax
call sym.tpop4.exe_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
mov esi, dword [sym.imp.USER32.dll_MapWindowPoints]
push eax
call esi
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x78]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x78]
push eax
push 1
mov dword [ebp - 0x78], 0x28
call sym.tpop4.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 eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x50]
call sym.tpop4.exe_public:_void___thiscall_DuiLib::CDuiRect::constructor_struct_tagRECT_const__
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x44]
jle 0x47075f
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
test ecx, ecx
jle 0x47072e
add eax, ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0xc]
jl 0x470739
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x3c]
mov edx, eax
mov dword [ebp - 0x24], eax
push 2
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx]
sub edx, ecx
push 0
mov ecx, ebx
mov dword [ebp - 0x2c], edx
call dword [eax + 0x1c]
mov ecx, eax
call sym.tpop4.exe_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
push eax
call esi
mov eax, dword [ebx]
push 0
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x80
movsd dword es:[edi], dword [esi]
push connect
push 0
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call sym.tpop4.exe_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
mov edi, dword [ebp - 4]
push eax
mov ecx, edi
call sym.tpop4.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov ebx, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x4707a2
push ebx
call esi
mov ebx, eax
push ebx
call esi
test eax, eax
jne 0x47079d
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret 4