Function at 0x4f6536
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 + 0x258], 0
lea ecx, [ebx + 0x4d0]
mov dword [esi + 0x254], ebx
mov eax, dword [ecx]
push edi
mov dword [ebp - 4], esi
call dword [eax + 4]
mov ecx, dword [esi + 0x254]
mov dword [esi + 0x25c], eax
lea eax, [ebp - 0x10]
push eax
call sym.hhrl.exe_public:_struct_tagSIZE___thiscall_DuiLib::CComboUI::GetDropBoxSize_void_
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
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 0x4f65ad
add ecx, esi
mov dword [ebp - 0x28], ecx
jmp 0x4f65b0
mov ecx, dword [ebp - 0x28]
sub ecx, esi
sub eax, edx
lea edi, [ebx + 0x4a0]
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 0x4f6611
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 + 0xc8]
test al, al
je 0x4f6602
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 + 0x114]
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 0x4f65d0
add esi, 4
cmp esi, dword [ebp - 0xc]
mov dword [ebp + 8], esi
jl 0x4f661f
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.hhrl.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__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.hhrl.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.hhrl.exe_public:_void___thiscall_DuiLib::CDuiRect::constructor_struct_tagRECT_const__
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x44]
jle 0x4f66d0
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 0x4f669f
add eax, ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0xc]
jl 0x4f66aa
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.hhrl.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__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 SysReAllocStringLen
push 0
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call sym.hhrl.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov edi, dword [ebp - 4]
push eax
mov ecx, edi
call sym.hhrl.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 0x4f6713
push ebx
call esi
mov ebx, eax
push ebx
call esi
test eax, eax
jne 0x4f670e
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