Function at 0x1004ec10
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012c4db
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x430
mov eax, dword [0x10188068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x440], edi
movzx esi, word [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x43c], ecx
lea eax, [esi - 0x7d1]
cmp eax, 0x63
ja 0x1004ee47
push esi
push ecx
call dword [sym.imp.SHLWAPI.dll_GetMenuPosFromID]
lea ecx, [ebp - 0x24]
xorps xmm0, xmm0
push ecx
push eax
push dword [ebp - 0x43c]
movups xmmword [ebp - 0x24], xmm0
push 0
call dword [sym.imp.USER32.dll_GetMenuItemRect]
push 0
push 6
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
lea ecx, [ebp - 0xa0]
call fcn.10044cc0
mov eax, ecx
mov dword [ebp - 4], 0
push eax
push esi
mov ecx, edi
call fcn.1004f0e0
test al, al
je 0x1004ee17
cmp dword [ebp - 0x48], 0
jne 0x1004ed2c
cmp dword [ebp - 0x8c], 8
lea esi, [ebp - 0xa0]
cmovae esi, dword [ebp - 0xa0]
cmp dword [ebp - 0x90], 0x24
jne 0x1004ed1c
mov ecx, str.44777E38_7348_4954_AAE0_E95AB9F4A45A
mov edx, 0x24
sub esi, ecx
nop dword [eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x1004ed1c
add ecx, 2
sub edx, 1
jne 0x1004ed00
lea eax, [edi + 0xac4]
jmp 0x1004ee07
lea ecx, [edi + 0xe70]
call fcn.10057170
jmp 0x1004ee17
cmp dword [ebp - 0x44], 8
lea esi, [ebp - 0x58]
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x2b8], 2
cmovae esi, dword [ebp - 0x58]
cmp dword [ebp - 0x8c], 8
cmovae eax, dword [ebp - 0xa0]
xor ecx, ecx
mov word [ebp - 0x438], cx
mov word [ebp - 0x3b8], cx
mov word [ebp - 0x338], cx
mov dword [ebp - 0x2b0], ecx
lea edx, [ecx + 0x40]
mov dword [ebp - 0x2ac], ecx
lea ecx, [ebp - 0x438]
mov edi, ecx
sub eax, edi
mov edi, eax
nop word [eax + eax]
lea eax, [edx + 0x7fffffbe]
test eax, eax
je 0x1004edae
movzx eax, word [edi + ecx]
test ax, ax
je 0x1004edae
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x1004ed90
mov edi, dword [ebp - 0x440]
lea eax, [ecx - 2]
test edx, edx
mov edx, 0x104
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x2a8]
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1004edee
movzx eax, word [esi + ecx]
test ax, ax
je 0x1004edee
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x1004edd0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x438]
mov dword [ebp - 0x2b4], ecx
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [edi + 0xe70]
call fcn.10056ef0
lea ecx, [ebp - 0x40]
call fcn.10043ac0
lea ecx, [ebp - 0x58]
call fcn.10043ac0
lea ecx, [ebp - 0x70]
call fcn.10043ac0
lea ecx, [ebp - 0x88]
call fcn.10043ac0
lea ecx, [ebp - 0xa0]
call fcn.10043ac0
jmp 0x1004ee6a
mov eax, dword [edi + 0xe74]
test eax, eax
je 0x1004ee6a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1004ee6a
push 0
push dword [edi + 0xe74]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100e278d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8