Function at 0x42a9b7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
xor eax, eax
push ebx
push edi
cmp dword [esi + 0x40], eax
je 0x42abb3
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
sub ebx, dword [ebp - 0x30]
sub eax, dword [ebp - 0x2c]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 3
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], eax
call edi
push 2
mov dword [ebp - 4], eax
call edi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x5c]
push eax
push 1
push dword [esi + 0x40]
mov dword [ebp - 0x5c], 0x1c
mov dword [ebp - 0x58], 0x17
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov ecx, dword [ebp - 0x54]
xor eax, eax
cmp ecx, dword [ebp - 0x50]
setne al
mov edi, eax
mov eax, dword [esi + 0x78]
mov dword [ebp - 0x20], edi
neg edi
sbb edi, edi
and edi, dword [ebp - 8]
add eax, edi
mov ecx, eax
sub ecx, ebx
cmp dword [esi + 0x7c], ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], eax
jle 0x42aa54
mov dword [esi + 0x7c], ecx
xor ecx, ecx
cmp dword [esi + 0x7c], ecx
jge 0x42aa5e
mov dword [esi + 0x7c], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x7c]
push 1
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x5c]
push eax
push 2
push dword [esi + 0x64]
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x54], ecx
call dword [sym.imp.USER32.dll_SetScrollInfo]
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x40]
push eax
push dword [esi + 0x40]
call dword [sym.imp.USER32.dll_GetClientRect]
and dword [ebp - 0x14], 0
cmp ebx, dword [ebp - 0x10]
jge 0x42aabc
push 2
push dword [esi + 0x64]
call dword [sym.imp.USER32.dll_GetScrollPos]
add ebx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x10]
jge 0x42aadc
mov eax, dword [esi + 0x74]
mov ecx, dword [ebp - 0x24]
add eax, dword [ebp - 4]
sub ecx, dword [ebp - 0x2c]
cmp ecx, eax
jl 0x42aadc
xor ebx, ebx
inc ebx
jmp 0x42aade
xor ebx, ebx
mov eax, ebx
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [esi + 0x64]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp byte [esi + 0x104], al
setne al
dec eax
and eax, 5
push eax
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
push 1
push dword [esi + 0x74]
sub ecx, edi
mov edi, dword [sym.imp.USER32.dll_MoveWindow]
push ecx
neg eax
push 0
push eax
push dword [esi + 0x68]
mov dword [ebp - 0x14], eax
call edi
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push 1
push dword [esi + 0x74]
sub eax, dword [ebp - 8]
push dword [ebp - 8]
push 0
push eax
push dword [esi + 0x6c]
call edi
mov ecx, dword [esi + 0x74]
mov eax, dword [ebp - 0x18]
neg ebx
sbb ebx, ebx
and ebx, dword [ebp - 4]
push 1
sub eax, ebx
sub eax, ecx
push eax
push dword [ebp - 0xc]
push ecx
push dword [ebp - 0x14]
push dword [esi + 0x40]
call edi
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x1c]
push 1
push dword [ebp - 4]
sub eax, dword [ebp - 0x30]
xor ebx, ebx
push eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 4]
push eax
push ebx
push dword [esi + 0x64]
call edi
cmp dword [ebp - 0x20], ebx
je 0x42ab97
cmp byte [esi + 0x104], bl
jne 0x42ab97
push 5
pop eax
jmp 0x42ab99
xor eax, eax
push eax
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x105
push ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop ebx
leave
ret