Function at 0x500ec90e
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
xor esi, esi
push esi
lea eax, [esp + 0x14]
push eax
push 0x5001062c
push esi
call fcn.500eb7c6
mov edi, dword [esp + 0x30]
push 1
push dword [esp + 0x14]
push 0x113d
push edi
call dword [sym.imp.USER32.dll_SetDlgItemInt]
mov ebp, dword [sym.imp.USER32.dll_CheckDlgButton]
xor eax, eax
cmp dword [0x5028fe68], esi
setne al
push eax
push 0x1142
push edi
call ebp
xor eax, eax
cmp dword [0x50289ad8], esi
setne al
push eax
push 0x113e
push edi
call ebp
xor eax, eax
cmp dword [0x50289aec], esi
setne al
push eax
push 0x113c
push edi
call ebp
xor eax, eax
cmp dword [0x50289af0], esi
setne al
push eax
push 0x141
push edi
call ebp
push dword [0x50289af0]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x41c
push edi
call esi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push dword [0x50289af0]
push 0x113d
push edi
call esi
push eax
call ebx
push dword [0x50289af0]
push 0x41d
push edi
call esi
push eax
call ebx
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
push 0x5002bfb4
push 0x5002bfc4
call fcn.501a5bb0
test eax, eax
jl 0x500eca3b
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 1
push eax
call dword [ecx + 0x10]
cmp word [esp + 0x1c], 0xb
jne 0x500eca26
movsx eax, word [esp + 0x24]
cmp eax, dword [0x50289af4]
je 0x500eca26
mov dword [0x50289af4], eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
cmp dword [0x50289af4], eax
setne al
push eax
push 0x14a
push edi
call ebp
xor eax, eax
cmp dword [0x5028fe64], 1
sete al
push eax
push 0x4b1
push edi
call ebp
push dword [0x50289ad8]
push 0x4b1
push edi
call esi
push eax
call ebx
mov eax, dword [0x5029a6c0]
cmp dword [eax + 0x14], 0
je 0x500ecabc
push 0
push 0x113e
push edi
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
push 0x4b1
push edi
call esi
push eax
call ebx
push 0
push 0x113c
push edi
call esi
push eax
call ebx
push 0
push 0x4b1
push edi
call esi
push eax
call ebx
jmp 0x500ecac2
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
call fcn.50272bbe
test eax, eax
jne 0x500ecaf1
push eax
push 0x41c
push edi
call esi
push eax
call ebx
push 0
push 0x113d
push edi
call esi
push eax
call ebx
push 0
push 0x41d
push edi
call esi
push eax
call ebx
call fcn.50125fb9
test eax, eax
je 0x500ecb4c
push 1
lea eax, [esp + 0x14]
push eax
push 0x50011abc
mov esi, 0x50011aa8
push esi
call fcn.500eb7c6
xor eax, eax
cmp dword [esp + 0x10], eax
setne al
push eax
push 0x1bc1
push edi
call ebp
push 1
lea eax, [esp + 0x14]
push eax
push 0x50011a88
push esi
call fcn.500eb7c6
push 0
push dword [esp + 0x14]
push 0x1bbd
push edi
call dword [sym.imp.USER32.dll_SetDlgItemInt]
jmp 0x500ecd07
call fcn.50272bbe
test eax, eax
je 0x500eccbd
lea eax, [esp + 0x1c]
push eax
push 0x1bbe
push edi
call esi
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_MapWindowPoints]
push 2
lea eax, [esp + 0x20]
push eax
push edi
push 0
call ebp
mov eax, dword [esp + 0x20]
push 0x141
push edi
mov dword [esp + 0x20], eax
call esi
lea ecx, [esp + 0x1c]
push ecx
push eax
mov dword [esp + 0x38], eax
call ebx
push 2
lea eax, [esp + 0x20]
push eax
push edi
push 0
call ebp
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
push 4
sub edx, eax
push edx
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x24]
mov ecx, eax
sub ecx, dword [esp + 0x20]
push edx
sub eax, ecx
push eax
push dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
push 0
push dword [esp + 0x48]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x41c
push edi
call esi
lea ecx, [esp + 0x1c]
push ecx
push eax
mov dword [esp + 0x38], eax
call ebx
push 2
lea eax, [esp + 0x20]
push eax
push edi
push 0
call ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push 0
sub ecx, eax
sub eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
push ecx
push eax
push dword [esp + 0x2c]
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x113d
push edi
call esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], eax
push ecx
push eax
call ebx
push 2
lea eax, [esp + 0x20]
push eax
push edi
push 0
call ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push 0
sub ecx, eax
sub eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
push ecx
push eax
push dword [esp + 0x2c]
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x41d
push edi
call esi
lea ecx, [esp + 0x1c]
push ecx
push eax
mov dword [esp + 0x38], eax
call ebx
push 2
lea eax, [esp + 0x20]
push eax
push edi
push 0
call ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push 0
sub ecx, eax
sub eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
push ecx
push eax
push dword [esp + 0x2c]
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_MoveWindow]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
xor ebp, ebp
push ebp
push 0x1bbe
push edi
call esi
push eax
call ebx
push ebp
push 0x1bbf
push edi
call esi
push eax
call ebx
push ebp
push 0x1bc0
push edi
call esi
push eax
call ebx
push ebp
push 0x1bc1
push edi
call esi
push eax
call ebx
push ebp
push 0x1bbd
push edi
call esi
push eax
call ebx
push ebp
push 0x4c5
push edi
call esi
push eax
call ebx
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
add esp, 0x1c
ret 4