Function at 0x42ca60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x5651c0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x42cc87
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 + 0x38], 0x1c
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], esi
push eax
push 1
push dword [edi + 0x40]
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 eax, eax
test ecx, ecx
mov dword [esp + 0x24], ecx
cmovne eax, esi
mov esi, dword [edi + 0x78]
add esi, eax
mov dword [esp + 0x18], eax
mov eax, esi
sub eax, ebx
cmp dword [edi + 0x7c], eax
jle 0x42cb12
mov dword [edi + 0x7c], eax
xor eax, eax
cmp dword [edi + 0x7c], eax
jge 0x42cb1c
mov dword [edi + 0x7c], eax
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x7c]
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 + 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 0x42cb7a
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 0x42cb9e
mov ecx, dword [edi + 0x74]
mov eax, dword [esp + 0x34]
add ecx, dword [esp + 0x10]
sub eax, dword [esp + 0x2c]
cmp eax, ecx
jl 0x42cb9e
xor eax, eax
inc eax
jmp 0x42cba0
xor eax, eax
mov dword [esp + 0x14], eax
neg eax
push 5
pop esi
sbb eax, eax
and eax, esi
push eax
push dword [edi + 0x64]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp byte [edi + 0xc4], al
cmove eax, esi
push eax
push dword [edi + 0x68]
call dword [sym.imp.USER32.dll_ShowWindow]
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 ecx, dword [esp + 0x20]
xor eax, eax
cmp dword [esp + 0x14], eax
push 1
cmovne eax, dword [esp + 0x14]
sub ecx, eax
mov eax, dword [esp + 0x10]
sub ecx, dword [edi + 0x74]
push ecx
push ebx
push dword [edi + 0x74]
push eax
push dword [edi + 0x40]
call esi
mov eax, dword [esp + 0x30]
xor ebx, ebx
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 ebx
push dword [edi + 0x64]
call esi
cmp dword [esp + 0x24], ebx
je 0x42cc6b
cmp byte [edi + 0xc4], bl
jne 0x42cc6b
push 5
pop eax
jmp 0x42cc6d
mov eax, ebx
push eax
push dword [edi + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x105
push ebx
push ebx
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.004d207d
mov esp, ebp
pop ebp
ret