Function at 0x10049788
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x10288294]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
xor ebx, ebx
mov esi, ecx
and dword [ebp - 0x248], ebx
and dword [ebp - 0x240], ebx
push edi
xor edi, edi
mov dword [ebp - 0x250], esi
movups xmmword [ebp - 0x23c], xmm0
test eax, eax
je 0x1004980a
push eax
call fcn.10088846
pop ecx
lea ecx, [ebp - 0x23c]
mov dword [esi + 0x704], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x234]
mov edi, dword [ebp - 0x23c]
sub eax, edi
mov ebx, dword [ebp - 0x238]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x230]
sub eax, ebx
mov dword [ebp - 0x240], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10079740
push 0x101e8a10
lea eax, [ebp - 0x20c]
push 0x101edfa4
push eax
call fcn.10021c4b
add esp, 0x18
lea eax, [ebp - 0x20c]
xor ecx, ecx
push ecx
push 0x142
push 0xfc
push ecx
push ecx
push 0x8000108
push 0x10ce0000
push eax
push ecx
call fcn.10047158
mov ecx, eax
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
lea eax, [ebp - 0x21c]
push eax
call fcn.10047158
mov ecx, eax
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x214]
sub eax, dword [ebp - 0x21c]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x210]
sub eax, dword [ebp - 0x218]
mov dword [ebp - 0x244], eax
call fcn.10074d64
call fcn.10074c63
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x22c]
add eax, dword [ebp - 0x214]
cdq
sub eax, edx
mov edx, dword [ebp - 0x210]
mov esi, eax
mov eax, dword [ebp - 0x218]
push ecx
sar esi, 1
lea eax, [eax + edx]
cdq
sub eax, edx
sar eax, 1
push eax
push esi
call fcn.1006b16d
mov eax, dword [ebp - 0x240]
add esp, 0xc
test edi, edi
jne 0x10049923
test ebx, ebx
jne 0x10049923
cmp dword [ebp - 0x248], ebx
jne 0x10049923
test eax, eax
jne 0x10049923
mov edi, dword [ebp - 0x224]
mov esi, dword [ebp - 0x24c]
sub edi, esi
mov ecx, dword [ebp - 0x220]
sub edi, 2
mov edx, dword [ebp - 0x244]
sub ecx, edx
sub ecx, 2
jmp 0x1004996c
cmp ebx, dword [ebp - 0x228]
mov edx, dword [ebp - 0x244]
cmovl ebx, dword [ebp - 0x228]
mov ecx, ebx
sub ecx, edx
jns 0x10049943
lea ecx, [ebx + 2]
add ecx, eax
jmp 0x10049946
add ecx, 0xfffffffe
cmp edi, dword [ebp - 0x22c]
mov esi, dword [ebp - 0x24c]
cmovl edi, dword [ebp - 0x22c]
lea eax, [esi + edi]
cmp eax, dword [ebp - 0x224]
jle 0x1004996c
mov edi, dword [ebp - 0x234]
sub edi, esi
mov ebx, dword [ebp - 0x250]
push 0
push edx
push esi
push ecx
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x80
mov ecx, ebx
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CWindowWnd::SetIcon_unsigned_int_]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x244]
xor ecx, ebp
pop edi
mov dword [ebx + 0x71c], esi
pop esi
mov dword [ebx + 0x720], eax
pop ebx
call fcn.1005d919
mov esp, ebp
pop ebp
ret 4