Function at 0x1007d6c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x100ca00c]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 8]
movups xmm0, xmmword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movups xmmword [esp + 0x10], xmm0
mov dword [edi + 0x14], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x1007d742
mov eax, dword [edi + 0x14]
movups xmm1, xmmword [eax + 0x10]
mov esi, dword [eax + 0x10c]
movaps xmmword [esp + 0x10], xmm1
movaps xmm0, xmm1
add dword [esp + 0x10], 6
sub dword [esp + 0x18], 6
psrldq xmm0, 0xc
psrldq xmm1, 4
movd ecx, xmm1
movd eax, xmm0
sub eax, ecx
sub eax, esi
sub eax, 2
cdq
sub eax, edx
sar eax, 1
add ecx, eax
lea eax, [esi + 2]
add eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 8]
cmp dword [eax + 0x84], 0
je 0x1007d786
lea ecx, [esp + 0x2c]
xorps xmm0, xmm0
push ecx
movups xmmword [esp + 0x30], xmm0
mov esi, 0x90000080
push dword [eax + 0x40]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], ecx
add dword [esp + 0x14], eax
add dword [esp + 0x18], ecx
add dword [esp + 0x1c], eax
jmp 0x1007d78b
mov esi, 0x40000080
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx + 0x120]
test al, 1
je 0x1007d79d
or esi, 1
jmp 0x1007d7a4
test al, 2
je 0x1007d7a4
or esi, 2
movups xmm0, xmmword [esp + 0x10]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, esi
or eax, 0x20
cmp dword [edi + 0x24], 0
cmove eax, esi
push eax
mov eax, dword [ecx + 8]
mov ecx, edi
push 0x10098c78
push dword [eax + 0x40]
call sym.mui.dll_public:_struct_HWND______thiscall_MUI::MWindow::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__class_CRect__struct_HMENU____
push 1
mov ecx, edi
call fcn.1007d980
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0x30
push dword [edi + 8]
call esi
push 0
push dword [edi + 0x34]
push 0xc5
push dword [edi + 8]
call esi
cmp dword [edi + 0x24], 0
je 0x1007d811
movzx eax, word [edi + 0x38]
push 0
push eax
push 0xcc
push dword [edi + 8]
call esi
mov ecx, dword [edi + 0x14]
lea eax, [esp + 8]
push eax
call sym.mui.dll_public:_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_MUI::MControlFont::GetTitle_void_
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 8]
test eax, eax
je 0x1007d843
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1007d843
push dword [esp + 0xc]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007d85f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push 0xb9
push dword [edi + 8]
call esi
mov eax, dword [edi + 8]
test eax, eax
je 0x1007d885
cmp eax, 0xffffffff
je 0x1007d885
push 0
push 3
push 0xd3
push eax
call esi
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x24]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
test eax, eax
je 0x1007d8b5
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1007d8b5
xor eax, eax
cmp dword [esp + 8], 1
sete al
push eax
push dword [edi + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
cmp dword [edi + 0x2c], 1
push 0
sete al
push eax
push 0xcf
push dword [edi + 8]
call esi
cmp dword [edi + 0x30], 0
je 0x1007d8ed
push 0xfffffffffffffff0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x2000
push eax
push 0xfffffffffffffff0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push 0
push 0xb1
push dword [edi + 8]
call esi
mov ecx, dword [esp + 0x3c]
mov dword [edi + 0x1c], 1
pop edi
pop esi
xor ecx, esp
call fcn.1008c351
mov esp, ebp
pop ebp
ret 0x14