Function at 0x1001de90
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x808
mov eax, dword [0x1006e020]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [edi + 0x16c]
cmp byte [eax + 0x1e4], 0
push ebx
push ebp
push esi
push 0
je 0x1001ded0
mov ecx, dword [edi + 0x484]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0xf1
push ecx
call ebp
jmp 0x1001deea
mov edx, dword [edi + 0x484]
push 0
push 0xf1
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x16c]
mov esi, dword [eax + 0x1e0]
test esi, esi
jne 0x1001defe
xor eax, eax
jmp 0x1001df05
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
mov ebx, eax
lea esi, [edi + 0x474]
call fcn.100158a0
mov ecx, dword [edi + 0x16c]
cmp byte [ecx + 0x1e5], 0
push 0
je 0x1001df48
mov edx, dword [edi + 0x480]
push 1
push 0xf1
push edx
call ebp
mov eax, dword [edi + 0x474]
cmp dword [eax - 8], 0
jne 0x1001df58
push edi
call fcn.1001d800
jmp 0x1001df58
mov ecx, dword [edi + 0x480]
push 0
push 0xf1
push ecx
call ebp
mov edx, dword [edi + 0x16c]
mov ecx, dword [edi + 0x4ac]
xor eax, eax
cmp dword [edx + 0x220], 1
push 0
sete al
push eax
push 0xf1
push ecx
call ebp
push 0x7fe
lea edx, [esp + 0x16]
push 0
push edx
mov word [esp + 0x1c], 0
call sub.MSVCR80.dll_memset
mov eax, dword [edi + 0x16c]
mov esi, dword [eax + 0x22c]
add esp, 0xc
mov eax, esi
mov byte [esp + 0xe], 0
mov byte [esp + 0xf], 0
xor ebp, ebp
call fcn.1001f590
test eax, eax
jbe 0x1001e0db
lea ecx, [ecx]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1001dfd3
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x1001dfd9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 4]
mov eax, dword [ecx + ebp*4]
test eax, eax
je 0x1001e063
cmp dword [eax + 0x288], 8
jne 0x1001e063
cmp byte [eax + 0x154], 0
je 0x1001e063
cmp byte [eax + 0x128], 0
je 0x1001e063
mov eax, dword [eax + 0x164]
push 0x400
push str.Property
push eax
lea ebx, [esp + 0x1c]
mov edx, str.MC3_ENABLED
call fcn.1004a680
add esp, 0xc
test al, al
je 0x1001e063
mov byte [esp + 0xf], 1
mov ecx, 0x1005e68c
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001e05a
test dx, dx
je 0x1001e056
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001e05a
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001e034
xor eax, eax
jmp 0x1001e05f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1001e0d4
mov eax, esi
add ebp, 1
call fcn.1001f590
cmp ebp, eax
jb 0x1001dfc0
cmp byte [esp + 0xf], 0
je 0x1001e0db
mov edx, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4f4
push edx
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebx
mov eax, dword [edi + 0x4b0]
push 5
push eax
call ebx
mov ecx, dword [edi + 0x4b0]
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push ecx
call ebx
mov eax, dword [edi + 0x4b0]
xor edx, edx
cmp byte [esp + 0xe], dl
push 0
setne dl
push edx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1001e113
mov byte [esp + 0xe], 1
jmp 0x1001e07c
mov ecx, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4f4
push ecx
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
mov edx, dword [edi + 0x4b0]
push 0
push edx
call ebx
mov eax, dword [edi + 0x4b0]
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
call ebx
mov ecx, dword [edi + 0x474]
cmp dword [ecx - 8], 0
jne 0x1001e13d
mov edx, dword [edi + 0x480]
push 0
push 0
push 0xf0
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1001e13d
xor ebp, ebp
jmp 0x1001e142
mov ebp, 1
mov eax, dword [edi + 4]
push 1
push eax
call esi
push ebp
push eax
call ebx
mov ecx, dword [esp + 0x810]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10056d50
add esp, 0x808
ret