Function at 0x454d30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x5d0074]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x454f80
lea eax, [esp + 0x28]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movups xmmword [esp + 0x30], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
sub ebx, dword [esp + 0x28]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 3
mov dword [esp + 0x24], eax
call esi
push 2
mov dword [esp + 0x14], eax
call esi
mov esi, eax
mov dword [esp + 0x50], 0
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], esi
push eax
push 1
push dword [edi + 0x40]
xorps xmm0, xmm0
mov dword [esp + 0x44], 0x1c
movlpd qword [esp + 0x4c], xmm0
movlpd qword [esp + 0x54], xmm0
mov dword [esp + 0x48], 0x17
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov ecx, dword [esp + 0x40]
xor edx, edx
cmp ecx, dword [esp + 0x44]
mov eax, dword [edi + 0x7c]
setne dl
mov dword [esp + 0x24], edx
xor edx, edx
cmp ecx, dword [esp + 0x44]
cmovne edx, esi
mov esi, dword [edi + 0x78]
add esi, edx
mov dword [esp + 0x18], edx
mov ecx, esi
sub ecx, ebx
cmp eax, ecx
jle 0x454dff
mov dword [edi + 0x7c], ecx
mov eax, ecx
test eax, eax
jns 0x454e0c
mov dword [edi + 0x7c], 0
xor eax, eax
push 1
mov dword [esp + 0x50], eax
lea eax, [esp + 0x3c]
push eax
push 2
push dword [edi + 0x64]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], esi
call dword [sym.imp.USER32.dll_SetScrollInfo]
lea eax, [esp + 0x54]
xorps xmm0, xmm0
push eax
push dword [edi + 0x40]
movups xmmword [esp + 0x5c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
mov dword [esp + 0xc], eax
cmp ebx, esi
jge 0x454e6b
push 2
push dword [edi + 0x64]
call dword [sym.imp.USER32.dll_GetScrollPos]
mov dword [esp + 0xc], eax
add ebx, eax
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
cmp ecx, esi
jge 0x454e91
mov ecx, dword [edi + 0x74]
mov eax, dword [esp + 0x34]
add ecx, dword [esp + 0x10]
sub eax, dword [esp + 0x2c]
cmp eax, ecx
jl 0x454e91
mov eax, 1
jmp 0x454e93
xor eax, eax
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esp + 0x14], eax
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [edi + 0x64]
call esi
xor eax, eax
mov ecx, 5
cmp byte [edi + 0xc4], al
cmove eax, ecx
push eax
push dword [edi + 0x68]
call esi
mov ecx, dword [esp + 0xc]
mov eax, ebx
sub eax, dword [esp + 0x18]
neg ecx
mov esi, dword [sym.imp.USER32.dll_MoveWindow]
push 1
push dword [edi + 0x74]
mov dword [esp + 0x14], ecx
push eax
push 0
push ecx
push dword [edi + 0x68]
call esi
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
push 1
push dword [edi + 0x74]
sub eax, ecx
push ecx
push 0
push eax
push dword [edi + 0x6c]
call esi
mov edx, dword [esp + 0x20]
xor eax, eax
cmp dword [esp + 0x14], eax
mov ecx, dword [edi + 0x74]
cmovne eax, dword [esp + 0x10]
push 1
sub edx, eax
mov eax, dword [esp + 0x10]
sub edx, ecx
push edx
push ebx
push ecx
push eax
push dword [edi + 0x40]
call esi
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x18]
sub eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push 1
push ecx
push eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
sub eax, ecx
push eax
push 0
push dword [edi + 0x64]
call esi
cmp dword [esp + 0x24], 0
je 0x454f62
cmp byte [edi + 0xc4], 0
jne 0x454f62
mov eax, 5
jmp 0x454f64
xor eax, eax
push eax
push dword [edi + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x105
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00520c02
mov esp, ebp
pop ebp
ret