Function at 0x474770
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x68]
mov ebx, ecx
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00471c90
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x40]
setle al
mov byte [ebp - 0x70], al
mov byte [ebp - 0x74], al
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x5c]
setle al
mov byte [ebp - 0x6c], al
mov byte [ebp - 0x78], al
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0xfffffffffffffff0
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, dword [sym.imp.USER32.dll_SetScrollInfo]
shr eax, 0x1c
and eax, 0xffffff01
cmp byte [ebp - 0x70], 0
mov dword [ebp - 0x7c], eax
je 0x47488b
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 3
call edi
push 2
mov esi, eax
call edi
mov edx, dword [ebp - 8]
mov edi, eax
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, edx
push 0x44
sub ecx, esi
cmp byte [ebp - 0x6c], 0
cmove ecx, edx
sub eax, dword [ebp - 0x14]
push ecx
push edi
push 0
sub eax, edi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push eax
push 0
push dword [ebx + 0x1c]
call edi
push dword [ebp - 0x74]
mov ecx, ebx
push dword [ebp - 0x78]
push dword [ebx + 0x24]
call fcn.00474d80
cmp byte [ebp - 0x6c], 0
je 0x4748f9
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 2
call esi
mov ecx, dword [ebp - 0xc]
sub ecx, eax
push 3
mov dword [ebp - 0x14], ecx
call esi
mov ecx, dword [ebp - 8]
mov edx, ecx
sub edx, eax
mov eax, dword [ebp - 0xc]
push 0x44
sub ecx, edx
mov dword [ebp - 0x10], edx
push ecx
mov ecx, dword [ebp - 0x14]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [ebx + 0x28]
call edi
mov esi, dword [sym.imp.USER32.dll_SetScrollInfo]
jmp 0x474910
test al, al
je 0x4748e7
push 1
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x1c
push eax
push 2
push dword [ebx + 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x1c], 0
call esi
push 0
mov ecx, ebx
call fcn.004753f0
push 0
push 2
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_ShowScrollBar]
push dword [ebp - 0x74]
mov ecx, ebx
push dword [ebp - 0x78]
push dword [ebx + 0x24]
call fcn.00474d80
jmp 0x4748ff
push dword [ebp - 0x70]
mov ecx, ebx
push dword [ebp - 0x6c]
push dword [ebx + 0x24]
call fcn.00474d80
jmp 0x4748ff
mov esi, dword [sym.imp.USER32.dll_SetScrollInfo]
push 0
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp - 0x70], 0
je 0x474926
push 1
lea eax, [ebp - 0x4c]
push eax
push 2
push dword [ebx + 0x1c]
call esi
push 0
mov ecx, ebx
call fcn.004753f0
cmp byte [ebp - 0x6c], 0
je 0x474945
push 1
lea eax, [ebp - 0x68]
push eax
push 2
push dword [ebx + 0x24]
call esi
push 0
push dword [ebx + 0x24]
mov ecx, ebx
call fcn.00472630
mov al, byte [ebp - 0x70]
cmp byte [ebp - 0x7c], al
je 0x474954
mov ecx, ebx
call fcn.004744e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a0e13
mov esp, ebp
pop ebp
ret