Function at 0x42f563
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x569078]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x40], 0
je 0x42f797
lea eax, [esp + 0x28]
xorps xmm0, xmm0
push eax
push dword [ebx + 4]
movups xmmword [esp + 0x30], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
sub edi, dword [esp + 0x28]
sub eax, dword [esp + 0x2c]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 3
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], eax
call esi
push 2
mov dword [esp + 0x1c], eax
call esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x38]
push eax
push 1
push dword [ebx + 0x40]
mov dword [esp + 0x44], 0x1c
mov dword [esp + 0x48], 0x17
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov eax, dword [esp + 0x40]
xor ecx, ecx
cmp eax, dword [esp + 0x44]
setne cl
xor esi, esi
test ecx, ecx
mov dword [esp + 0x20], ecx
cmovne esi, dword [esp + 0x10]
add esi, dword [ebx + 0x78]
mov eax, esi
sub eax, edi
cmp dword [ebx + 0x7c], eax
jle 0x42f613
mov dword [ebx + 0x7c], eax
xor eax, eax
cmp dword [ebx + 0x7c], eax
jge 0x42f61d
mov dword [ebx + 0x7c], eax
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x7c]
push 1
mov dword [esp + 0x50], eax
lea eax, [esp + 0x3c]
push eax
push 2
push dword [ebx + 0x64]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], esi
call dword [sym.imp.USER32.dll_SetScrollInfo]
lea eax, [esp + 0x54]
xorps xmm0, xmm0
push eax
push dword [ebx + 0x40]
movups xmmword [esp + 0x5c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
mov dword [esp + 0xc], eax
cmp edi, esi
jge 0x42f67f
push 2
push dword [ebx + 0x64]
call dword [sym.imp.USER32.dll_GetScrollPos]
add edi, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
cmp ecx, esi
jge 0x42f6a3
mov ecx, dword [ebx + 0x74]
mov eax, dword [esp + 0x34]
add ecx, dword [esp + 0x18]
sub eax, dword [esp + 0x2c]
cmp eax, ecx
jl 0x42f6a3
xor eax, eax
inc eax
jmp 0x42f6a5
xor eax, eax
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esp + 0x1c], eax
neg eax
push 5
pop esi
sbb eax, eax
and eax, esi
push eax
push dword [ebx + 0x64]
call edi
xor eax, eax
cmp byte [ebx + 0xc4], al
cmove eax, esi
push eax
push dword [ebx + 0x68]
call edi
mov eax, dword [esp + 0x14]
xor edi, edi
cmp dword [esp + 0x20], edi
mov ecx, dword [esp + 0xc]
cmovne edi, dword [esp + 0x10]
neg ecx
mov esi, dword [sym.imp.USER32.dll_MoveWindow]
sub eax, edi
push 1
push dword [ebx + 0x74]
mov dword [esp + 0x14], ecx
push eax
push 0
push ecx
push dword [ebx + 0x68]
call esi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
push 1
push dword [ebx + 0x74]
sub eax, ecx
push ecx
push 0
push eax
push dword [ebx + 0x6c]
call esi
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp dword [esp + 0x1c], eax
push 1
cmovne eax, dword [esp + 0x1c]
sub ecx, eax
mov eax, dword [esp + 0x10]
sub ecx, dword [ebx + 0x74]
push ecx
push dword [esp + 0x1c]
push dword [ebx + 0x74]
push eax
push dword [ebx + 0x40]
call esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
sub eax, edi
sub eax, dword [esp + 0x28]
xor edi, edi
push 1
push ecx
push eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
sub eax, ecx
push eax
push edi
push dword [ebx + 0x64]
call esi
cmp dword [esp + 0x20], edi
je 0x42f77b
cmp byte [ebx + 0xc4], 0
jne 0x42f77b
push 5
pop eax
jmp 0x42f77d
mov eax, edi
push eax
push dword [ebx + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x105
push edi
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004cb6da
mov esp, ebp
pop ebp
ret