Function at 0x1002a4d0
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
push esi
mov esi, ecx
xorps xmm0, xmm0
mov ecx, dword [ebp + 8]
movaps xmmword [esp + 0xc], xmm0
push edi
mov dword [esi + 0x14], ecx
cmp dword [ecx + 0x1cc], 0
je 0x1002a508
movups xmm0, xmmword [ecx + 0x1bc]
jmp 0x1002a517
push 1
lea eax, [esp + 0x30]
push eax
call sym.mui.dll_protected:_class_CRect___thiscall_MUI::MEdit::CalcTextRect_int_
movups xmm0, xmmword [eax]
mov eax, dword [esi + 0x14]
movups xmmword [esp + 0x10], xmm0
mov edi, dword [eax + 0x174]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x1002a58c
mov eax, dword [esi + 0x14]
movups xmm0, xmmword [eax + 0x10]
mov edx, dword [eax + 0x10c]
mov dword [esp + 8], edx
movups xmmword [esp + 0x10], xmm0
add dword [esp + 0x10], 6
sub dword [esp + 0x18], 6
test edi, edi
je 0x1002a564
add dword [esp + 0x14], 6
sub dword [esp + 0x1c], 6
jmp 0x1002a58c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub eax, ecx
sub eax, edx
inc ecx
sub eax, 2
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [esp + 8]
add ecx, 2
mov dword [esp + 0x14], eax
add eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 8]
cmp dword [eax + 0x84], 0
je 0x1002a5da
lea ecx, [esp + 0x2c]
xorps xmm0, xmm0
push ecx
movups xmmword [esp + 0x30], xmm0
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 + 0x18], ecx
mov ecx, 0x90000044
add dword [esp + 0x14], eax
add dword [esp + 0x1c], eax
test edi, edi
mov eax, 0x90000080
cmove ecx, eax
jmp 0x1002a5e9
test edi, edi
mov ecx, 0x40000080
mov eax, 0x40000044
cmovne ecx, eax
mov edx, dword [esi + 0x14]
mov eax, dword [edx + 0x120]
test al, 1
je 0x1002a5fb
or ecx, 1
jmp 0x1002a602
test al, 2
je 0x1002a602
or ecx, 2
movups xmm0, xmmword [esp + 0x10]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, ecx
or eax, 0x20
cmp dword [edx + 0x170], 0
cmove eax, ecx
mov ecx, esi
push eax
mov eax, dword [edx + 8]
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____
mov ecx, dword [esi + 0x14]
push 1
call sym.mui.dll_public:_struct_HFONT______thiscall_MUI::MEdit::GetDefaultFont_void_
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0x30
push dword [esi + 8]
call edi
mov eax, dword [esi + 0x14]
push 0
push dword [eax + 0x184]
push 0xc5
push dword [esi + 8]
call edi
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x170], 0
je 0x1002a682
movzx eax, word [eax + 0x188]
push 0
push eax
push 0xcc
push dword [esi + 8]
call edi
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0xc]
push eax
call sym.mui.dll_public:_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_MUI::MEdit::GetTitleEx_void_
mov eax, dword [eax]
mov dword [esp + 8], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x1002a6b4
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002a6b4
push dword [esp + 8]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esp + 0xc]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002a6d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push 0xb9
push dword [esi + 8]
call edi
mov eax, dword [esi + 8]
test eax, eax
je 0x1002a6f6
cmp eax, 0xffffffff
je 0x1002a6f6
push 0
push 3
push 0xd3
push eax
call edi
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x1002a726
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002a726
xor eax, eax
cmp dword [esp + 0xc], 1
sete al
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x14]
xor ecx, ecx
push 0
cmp dword [eax + 0x178], 1
sete cl
push ecx
push 0xcf
push dword [esi + 8]
call edi
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x17c], 0
je 0x1002a76a
push 0xfffffffffffffff0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x2000
push eax
push 0xfffffffffffffff0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push 0
push 0xb1
push dword [esi + 8]
call edi
mov ecx, dword [esp + 0x3c]
pop edi
mov dword [esi + 0x1c], 1
pop esi
xor ecx, esp
call fcn.1008c351
mov esp, ebp
pop ebp
ret 4