Function at 0x457550
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov dword [ebp - 0x40], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x3c], ecx
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x38], edi
cmp eax, 0xf
jne 0x4575b4
mov dword [ebx + 0x98], 1
mov dword [edi], 0
cmp dword [ebx + 0x98], 0
je 0x4577dd
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 2
jne 0x4575f6
push dword [ebx + 0x10]
mov dword [ebx + 0x98], 1
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x4576dd
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4576dd
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4576dd
cmp eax, 0x47
jne 0x4576f5
mov eax, dword [ebx + 0x14]
lea edi, [ebx + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0xc]
push ecx
mov ecx, ebx
mov dword [ebx + 0x98], 1
mov dword [ebp - 8], eax
call fcn.004564b0
push edi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x4576da
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
mov esi, dword [edi]
sub ecx, edx
push 8
push ecx
mov ecx, dword [edi + 8]
sub ecx, esi
push ecx
push edx
push esi
push 0
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx + 0xc]
push eax
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [ebx + 0x10]
mov edx, eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x28], ecx
mov ecx, dword [edi]
push edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [edi + 4]
push 0x4e
push dword [ebx + 0xc]
mov dword [ebp - 0x20], ecx
mov ecx, dword [edi + 8]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4576da
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x67
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [ebp - 0x38]
mov dword [edi], 0
cmp dword [ebx + 0x98], 0
je 0x4577ca
jmp 0x45759c
cmp eax, 0x18
jne 0x4577d0
cmp dword [ebp - 0x40], 0
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x98], 1
je 0x457800
and eax, 0xfffffff7
mov ecx, ebx
mov dword [ebx + 0x34], eax
lea ecx, [ecx]
mov edi, dword [ecx + 8]
push 0x63cb18
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0045f100
mov ecx, eax
mov esi, dword [ecx]
test esi, esi
je 0x457760
xor edx, edx
mov eax, edi
div dword [ecx + 8]
mov esi, dword [esi + edx*4]
test esi, esi
je 0x457760
lea esp, [esp]
cmp dword [esi + 0xc], edi
jne 0x457759
cmp dword [esi], edi
je 0x45778e
mov esi, dword [esi + 8]
test esi, esi
jne 0x457750
push 0x63cb18
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4577b7
push 0x63cb18
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x45776b
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x45776b
mov eax, dword [ecx + 0x34]
shr eax, 3
not eax
test al, 1
jne 0x457720
mov edi, dword [ebp - 0x38]
mov dword [edi], 0
cmp dword [ebx + 0x98], 0
jne 0x45759c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3c]
cmp dword [ebx + 0x98], 0
jne 0x45759c
push edi
push ecx
push dword [ebp - 0x40]
mov ecx, ebx
push eax
push dword [ebp + 8]
call fcn.00457f40
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00557e89
mov esp, ebp
pop ebp
ret 0x14
or eax, 8
mov dword [ebx + 0x34], eax
jmp 0x45776e