Function at 0x418740
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetScrollInfo]
lea eax, [ebp - 0x20]
mov ebx, ecx
mov dword [ebp - 0x20], 0x1c
push eax
push 1
mov dword [ebp - 0x1c], 0x17
push dword [ebx + 4]
call edi
push 1
lea eax, [ebp - 0x20]
push eax
push 2
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4187a8
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
inc eax
cmp ecx, eax
jge 0x4187a8
mov dword [ebp - 0x84], 5
push 5
jmp 0x4187b4
mov dword [ebp - 0x84], 0
push 0
push dword [ebx + 0x24]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebx + 4]
call edi
push 1
lea eax, [ebp - 0x20]
push eax
push 2
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4187f5
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
inc eax
cmp ecx, eax
jge 0x4187f5
mov edi, 5
push edi
jmp 0x4187f8
xor edi, edi
push edi
push dword [ebx + 0x28]
mov dword [ebp - 0x80], edi
call esi
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
call esi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x40]
push 0
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push 0
push 0
push 0x101f
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x418863
push 0
push 0
push 0x101f
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x40]
push ecx
push eax
call esi
cmp dword [ebp - 0x84], 5
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
jne 0x4188c5
cmp edi, 5
jne 0x418883
push 3
call esi
mov dword [ebp - 0x88], eax
jmp 0x41888d
mov dword [ebp - 0x88], 0
push 2
call esi
push 2
mov edi, eax
call esi
mov ecx, dword [ebp - 0x8c]
sub ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x34]
sub ecx, edx
mov esi, dword [ebp - 0x90]
push 1
push ecx
push edi
push edx
sub esi, eax
push esi
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [ebp - 0x80], 5
jne 0x41894f
push 3
call esi
cmp dword [ebp - 0x84], 5
mov dword [ebp - 0x80], eax
jne 0x4188e7
push 2
call esi
mov edi, eax
jmp 0x4188e9
xor edi, edi
push 3
call esi
mov ecx, dword [ebp - 0x8c]
push 1
push dword [ebp - 0x80]
sub ecx, eax
mov eax, dword [ebp - 0x90]
sub eax, edi
push eax
push ecx
push 0
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, dword [ebx + 4]
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x418947
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [ebp - 0x68]
mov dword [ebx + 0x2c], eax
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a0e13
mov esp, ebp
pop ebp
ret 8