Function at 0x454420
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x62819c]
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 0x454484
mov dword [ebx + 0x98], 1
mov dword [edi], 0
cmp dword [ebx + 0x98], 0
je 0x454690
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 2
jne 0x4544c6
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 0x4545ad
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4545ad
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4545ad
cmp eax, 0x47
jne 0x4545c5
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.004533e0
push edi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x4545aa
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 0x4545aa
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 0x45467a
jmp 0x45446c
cmp eax, 0x18
jne 0x454683
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 0x4546b7
mov ecx, ebx
jmp 0x454600
mov edi, dword [ecx + 8]
push 0x6317fc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0045bda0
mov ecx, eax
mov esi, dword [ecx]
test esi, esi
je 0x454640
xor edx, edx
mov eax, edi
div dword [ecx + 8]
mov esi, dword [esi + edx*4]
test esi, esi
je 0x454640
lea esp, [esp]
cmp dword [esi + 0xc], edi
jne 0x454639
cmp dword [esi], edi
je 0x454642
mov esi, dword [esi + 8]
test esi, esi
jne 0x454630
xor esi, esi
push 0x6317fc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x4546b1
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4546b1
mov eax, dword [ecx + 0x34]
shr eax, 3
not eax
test al, 1
jne 0x454600
mov edi, dword [ebp - 0x3c]
mov dword [edi], 0
cmp dword [ebx + 0x98], 0
jne 0x45446c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
cmp dword [ebx + 0x98], 0
jne 0x45446c
push edi
push ecx
push edx
push eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.00454e00
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00545ec7
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 0x454667