Function at 0x450290
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x38], edx
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x40], ecx
push esi
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x3c], edi
cmp eax, 0xf
jne 0x4502f4
mov dword [ebx + 0x98], 1
mov dword [edi], 0
cmp dword [ebx + 0x98], 0
je 0x450500
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 2
jne 0x450336
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 0x45041d
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45041d
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45041d
cmp eax, 0x47
jne 0x450435
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.0044f250
push edi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x45041a
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 0x45041a
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 - 0x3c]
mov dword [edi], 0
cmp dword [ebx + 0x98], 0
je 0x4504ea
jmp 0x4502dc
cmp eax, 0x18
jne 0x4504f3
mov ecx, dword [ebx + 0x34]
mov eax, ecx
and eax, 0xfffffff7
mov dword [ebx + 0x98], 1
or ecx, 8
test edx, edx
cmovne ecx, eax
mov dword [ebx + 0x34], ecx
je 0x450527
mov ecx, ebx
jmp 0x450470
mov edi, dword [ecx + 8]
push 0x629a68
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.00457c10
mov ecx, eax
mov esi, dword [ecx]
test esi, esi
je 0x4504b0
xor edx, edx
mov eax, edi
div dword [ecx + 8]
mov esi, dword [esi + edx*4]
test esi, esi
je 0x4504b0
lea esp, [esp]
cmp dword [esi + 0xc], edi
jne 0x4504a9
cmp dword [esi], edi
je 0x4504b2
mov esi, dword [esi + 8]
test esi, esi
jne 0x4504a0
xor esi, esi
push 0x629a68
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x450521
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x450521
mov eax, dword [ecx + 0x34]
shr eax, 3
not eax
test al, 1
jne 0x450470
mov edi, dword [ebp - 0x3c]
mov dword [edi], 0
cmp dword [ebx + 0x98], 0
jne 0x4502dc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
cmp dword [ebx + 0x98], 0
jne 0x4502dc
push edi
push ecx
push edx
push eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.00450c70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053d079
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
neg edx
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 0x4504d7