Function at 0x41ced5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
xor eax, eax
push ebx
push edi
cmp dword [esi + 0x30], eax
je 0x41d0d1
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 + 0x30]
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 + 0x68]
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 + 0x6c], ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], eax
jle 0x41cf72
mov dword [esi + 0x6c], ecx
xor ecx, ecx
cmp dword [esi + 0x6c], ecx
jge 0x41cf7c
mov dword [esi + 0x6c], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x6c]
push 1
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x5c]
push eax
push 2
push dword [esi + 0x54]
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 + 0x30]
call dword [sym.imp.USER32.dll_GetClientRect]
and dword [ebp - 0x14], 0
cmp ebx, dword [ebp - 0x10]
jge 0x41cfda
push 2
push dword [esi + 0x54]
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 0x41cffa
mov eax, dword [esi + 0x64]
mov ecx, dword [ebp - 0x24]
add eax, dword [ebp - 4]
sub ecx, dword [ebp - 0x2c]
cmp ecx, eax
jl 0x41cffa
xor ebx, ebx
inc ebx
jmp 0x41cffc
xor ebx, ebx
mov eax, ebx
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp byte [esi + 0xf4], al
setne al
dec eax
and eax, 5
push eax
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
push 1
push dword [esi + 0x64]
sub ecx, edi
mov edi, dword [sym.imp.USER32.dll_MoveWindow]
push ecx
neg eax
push 0
push eax
push dword [esi + 0x58]
mov dword [ebp - 0x14], eax
call edi
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push 1
push dword [esi + 0x64]
sub eax, dword [ebp - 8]
push dword [ebp - 8]
push 0
push eax
push dword [esi + 0x5c]
call edi
mov ecx, dword [esi + 0x64]
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 + 0x30]
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 + 0x54]
call edi
cmp dword [ebp - 0x20], ebx
je 0x41d0b5
cmp byte [esi + 0xf4], bl
jne 0x41d0b5
push 5
pop eax
jmp 0x41d0b7
xor eax, eax
push eax
push dword [esi + 0x5c]
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