Function at 0x453365
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
lea eax, [ebp - 0x30]
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x40]
push eax
push 1
push 0x41d
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x28]
movzx edi, byte [0x484a32]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x3c]
sub edx, eax
sub edx, 0x78
neg edi
sbb edi, edi
and edi, ecx
cmp byte [0x484a33], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], edx
je 0x4533ca
movsx eax, word [esi + 0x20]
jmp 0x4533cd
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
movsx eax, word [esi + 0x34]
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
push 0x4eb
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp byte [0x484a36], 0
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 0xc], eax
je 0x45344b
cmp byte [0x484a37], 0
je 0x453409
mov eax, dword [ebp - 0x24]
sub eax, edi
dec eax
jmp 0x45340e
mov eax, dword [ebp - 8]
sub eax, edi
push 0x254
push eax
push dword [ebp - 4]
push edi
push 0
push 0
push dword [ebp - 0xc]
call ebx
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
push eax
push 0
push 0x101e
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
add dword [ebp - 4], 3
jmp 0x453458
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebp - 4], 0
mov eax, dword [esi + 4]
push 0x1b
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 8]
push 0x214
sub ecx, edi
push ecx
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 4]
push ecx
push edi
push dword [ebp - 4]
push 0
push eax
call ebx
movzx edi, byte [0x484a37]
mov eax, dword [esi + 4]
neg edi
sbb edi, edi
and edi, dword [ebp - 4]
add dword [ebp - 8], 3
push 0x1a
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 8]
push 0x214
push ecx
mov ecx, dword [ebp - 0x28]
sub ecx, edi
push ecx
push dword [ebp - 8]
push edi
push 0
push eax
call ebx
mov ecx, esi
call fcn.0045322f
xor eax, eax
cmp byte [0x484a32], al
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
sete al
dec eax
and eax, 0xffffffc0
sub eax, 0xffffff80
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x453
push dword [esi + 0x38]
call edi
mov eax, dword [esi + 0x44]
cmp eax, dword [esi + 4]
je 0x45350a
mov ecx, dword [ebp - 8]
or ecx, 0x214
push ecx
push dword [ebp - 0x14]
xor ecx, ecx
push dword [ebp - 0x28]
push ecx
push ecx
push ecx
push eax
call ebx
mov eax, dword [esi + 0x44]
cmp eax, dword [esi + 4]
jne 0x45352b
mov eax, dword [ebp - 8]
or eax, 0x214
push eax
push dword [ebp - 0x14]
xor eax, eax
push dword [ebp - 0x18]
push eax
push eax
push eax
push dword [esi + 0x38]
call ebx
mov eax, dword [0x484a7c]
xor edx, edx
cmp word [eax], dx
je 0x453547
mov eax, dword [esi + 0x44]
cmp eax, dword [esi + 4]
jne 0x45354e
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jg 0x45354e
mov dword [ebp - 8], 0x80
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 0x4c], ecx
cmp eax, dword [esi + 4]
je 0x453591
mov ecx, dword [ebp - 8]
shr ecx, 7
not ecx
and ecx, 1
push ecx
push 1
push 0x423
push eax
call edi
call fcn.0044345e
test al, al
jne 0x4535ac
push 0
push 0
push 0x41f
push dword [esi + 0x44]
call edi
jmp 0x4535ac
mov eax, dword [ebp - 8]
or eax, 0x214
push eax
mov eax, dword [ebp - 0x20]
push ecx
add eax, 0x78
push eax
push edx
push dword [ebp - 0x10]
push edx
push dword [esi + 0x3c]
call ebx
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff7
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x40]
push eax
push 0
push 0x41d
push dword [esi + 0x3c]
call edi
mov eax, dword [ebp - 8]
or eax, 0x214
push eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x10]
push dword [ebp - 0x10]
sub eax, dword [ebp - 0x3c]
push 0x78
inc eax
cdq
sub eax, edx
sar eax, 1
push eax
push dword [ebp - 0x40]
push 0
push dword [esi + 0x40]
call ebx
mov ecx, esi
call fcn.0043cc62
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebx
leave
ret