Function at 0x100499c7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x10285294]
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 0x10049a49
push eax
call fcn.10087806
pop ecx
lea ecx, [ebp - 0x23c]
mov dword [esi + 0x700], 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.10078730
push 0x101e69d0
lea eax, [ebp - 0x20c]
push 0x101ebf24
push eax
call fcn.10021c56
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.1004742b
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.1004742b
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.10073f66
call fcn.10073e65
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.1006a5f7
mov eax, dword [ebp - 0x240]
add esp, 0xc
test edi, edi
jne 0x10049b62
test ebx, ebx
jne 0x10049b62
cmp dword [ebp - 0x248], ebx
jne 0x10049b62
test eax, eax
jne 0x10049b62
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 0x10049bab
cmp ebx, dword [ebp - 0x228]
mov edx, dword [ebp - 0x244]
cmovl ebx, dword [ebp - 0x228]
mov ecx, ebx
sub ecx, edx
jns 0x10049b82
lea ecx, [ebx + 2]
add ecx, eax
jmp 0x10049b85
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 0x10049bab
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 + 0x718], esi
pop esi
mov dword [ebx + 0x71c], eax
pop ebx
call fcn.1005d874
mov esp, ebp
pop ebp
ret 4